(this.webpackJsonparimo=this.webpackJsonparimo||[]).push([[8],{313:function(e,t,a){"use strict";a.d(t,"f",(function(){return o})),a.d(t,"e",(function(){return u})),a.d(t,"b",(function(){return m})),a.d(t,"i",(function(){return d})),a.d(t,"c",(function(){return f})),a.d(t,"g",(function(){return p})),a.d(t,"a",(function(){return b})),a.d(t,"d",(function(){return C})),a.d(t,"h",(function(){return g}));var n=a(2),c=a(33),r=a(421),l=a(497),i=a(28),s=a(422),o=function(e){return function(t){t(Object(i.e)("projects-list")),r.a.index(e).then((function(a){return Object.keys(e).includes("owner")?t({type:c.e,payload:a.data.projects}):t({type:c.h,payload:a.data.projects}),window.scrollTo(0,0),a.data.projects})).finally((function(){t(Object(i.g)("projects-list"))}))}},u=function(e,t){return function(a){a(Object(i.e)("projects-create")),r.a.getById(e,t,!1).then((function(e){var t=e.data.project;a({type:c.f,payload:{name:t.name,link:t.group?t.group.link:"",spotify:t.spotify||{},owners:t.owners.data||[],owner:t.owner||{},description:t.description}}),a({type:c.g,payload:t.id})})).finally((function(){a(Object(i.g)("projects-create"))}))}},m=function(e,t){return function(a){a(Object(i.e)("projects-create")),l.a.create({link:e.link},!1).then((function(n){s.a.create({id:e.spotify.artistId},!1).then((function(l){r.a.create({name:e.name,description:e.description,group_id:n.data.group.id,spotify_id:l.data.spotify.id}).then((function(){a({type:c.d,payload:!1}),a({type:c.a}),o(t)(a)}))}))})).finally((function(){a(Object(i.g)("projects-create"))}))}},d=function(e,t,a){return function(u){u(Object(i.e)("projects-create")),l.a.create({link:e.link},!1).then((function(l){s.a.create({id:e.spotify.artistId},!1).then((function(i){r.a.update(Object(n.a)(Object(n.a)({},e),{},{group_id:l.data.group.id,spotify_id:i.data.spotify.id}),t).then((function(){u({type:c.d,payload:!1}),u({type:c.a}),o(a)(u)}))}))})).finally((function(){u(Object(i.g)("projects-create"))}))}},f=function(e,t){return function(a){a(Object(i.e)("projects-create")),r.a.remove(e).then((function(){a({type:c.d,payload:!1}),a({type:c.a}),o(t)(a)})).finally((function(){a(Object(i.g)("projects-create"))}))}},p=function(e){return function(t){s.a.getList(e).then((function(e){t({type:c.k,payload:e.data.spotify.map((function(e){return{id:e.id,name:e.name,image:e.images[0]&&e.images[0].url||""}}))})}))}},b=function(e){return function(t){t(Object(i.e)("projects-create")),r.b.create(e).then((function(a){t(h(e))})).finally((function(){t(Object(i.g)("projects-create"))}))}},C=function(e,t){return function(a){a(Object(i.e)("projects-create")),r.b.remove(e,t).then((function(e){a(h(t))})).finally((function(){a(Object(i.g)("projects-create"))}))}},h=function(e){return function(t,a){t(Object(i.e)("projects-create")),r.b.index(e).then((function(e){t({type:c.f,payload:Object(n.a)(Object(n.a)({},a().projects.modalData),{},{owners:e.data.users.data||[]})})})).finally((function(){t(Object(i.g)("projects-create"))}))}},g=function(e){return{type:c.i,payload:e}}},314:function(e,t,a){"use strict";var n=a(6),c=a(7),r=a(12),l=a(13),i=a(0),s=a.n(i),o=(a(210),a(591),function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement("div",{className:"full-spinner full-spinner-dimming"},s.a.createElement("div",{className:"fallback-spinner"},s.a.createElement("div",{className:"loading component-loader"},s.a.createElement("div",{className:"effect-1 effects"}),s.a.createElement("div",{className:"effect-2 effects"}),s.a.createElement("div",{className:"effect-3 effects"}))))}}]),a}(s.a.Component));t.a=o},330:function(e,t,a){"use strict";var n=a(6),c=a(7),r=a(12),l=a(13),i=a(0),s=a.n(i),o=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement("div",{className:"vx-checkbox-con ".concat(this.props.className?this.props.className:""," vx-checkbox-").concat(this.props.color)},s.a.createElement("input",{type:"checkbox",defaultChecked:this.props.defaultChecked,checked:this.props.checked,value:this.props.value,disabled:this.props.disabled,onClick:this.props.onClick?this.props.onClick:null,onChange:this.props.onChange?this.props.onChange:null}),s.a.createElement("span",{className:"vx-checkbox vx-checkbox-".concat(this.props.size?this.props.size:"md")},s.a.createElement("span",{className:"vx-checkbox--check"},this.props.icon)),s.a.createElement("span",null,this.props.label))}}]),a}(s.a.Component);t.a=o},331:function(e,t,a){"use strict";var n=a(0),c=a.n(n),r=a(152),l=a(127),i=a(586),s=a.n(i);a(590);t.a=function(e){return Object(n.useEffect)((function(){e.pagination&&0===e.pagination.count&&1!==e.pagination.current_page&&e.onPageChange(e.pagination.current_page-1)}),[e.pagination]),c.a.createElement("div",null,e.pagination&&e.pagination.total_pages>1&&c.a.createElement(s.a,{forcePage:e.pagination.current_page-1,previousLabel:c.a.createElement(r.a,{size:"15"}),nextLabel:c.a.createElement(l.a,{size:"15"}),breakLabel:"...",breakClassName:"break-me",pageCount:e.pagination.total_pages||0,onPageChange:function(t){return e.onPageChange(t.selected+1)},marginPagesDisplayed:2,pageRangeDisplayed:5,containerClassName:"vx-pagination separated-pagination pagination-center mt-3",activeClassName:"active"}))}},342:function(e,t,a){},347:function(e,t,a){"use strict";var n=a(6),c=a(7),r=a(12),l=a(13),i=a(0),s=a.n(i),o=(a(210),function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement("div",{className:"full-spinner"},s.a.createElement("div",{className:"fallback-spinner"},s.a.createElement("div",{className:"loading component-loader full-spinner-loading"},s.a.createElement("div",{className:"effect-1 effects"}),s.a.createElement("div",{className:"effect-2 effects"}),s.a.createElement("div",{className:"effect-3 effects"}))))}}]),a}(s.a.Component));t.a=o},359:function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"b",(function(){return u}));var n=a(6),c=a(7),r=a(12),l=a(13),i=a(101),s=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"events/types"}}]),a}(i.a),o=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"events"}}]),a}(i.a),u=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"events/tags"}}]),a}(i.a)},361:function(e,t,a){"use strict";a.d(t,"h",(function(){return r})),a.d(t,"m",(function(){return l})),a.d(t,"i",(function(){return i})),a.d(t,"f",(function(){return s})),a.d(t,"j",(function(){return o})),a.d(t,"l",(function(){return u})),a.d(t,"a",(function(){return m})),a.d(t,"d",(function(){return d})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return p})),a.d(t,"g",(function(){return b})),a.d(t,"e",(function(){return C})),a.d(t,"k",(function(){return h}));var n=a(0),c=a.n(n),r=function(){return c.a.createElement("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0223 40C31.0738 40 40.0327 31.0457 40.0327 20C40.0327 8.9543 31.0738 0 20.0223 0C8.97091 0 0.0119629 8.9543 0.0119629 20C0.0119629 31.0457 8.97091 40 20.0223 40Z",fill:"#EA5455"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8914 16.8284C11.8914 12.5118 15.4032 9 19.7198 9C24.0363 9 27.5481 12.5118 27.5482 16.8284C27.5482 22.1854 20.5425 30.0497 20.2442 30.3819C19.9646 30.6934 19.4754 30.6939 19.1953 30.3819C18.897 30.0497 11.8914 22.1854 11.8914 16.8284ZM13.3011 16.8284C13.3011 20.505 17.362 26.0305 19.7198 28.8311C22.0781 26.0296 26.1384 20.5051 26.1384 16.8284C26.1384 13.2891 23.259 10.4098 19.7198 10.4098C16.1805 10.4098 13.3011 13.2891 13.3011 16.8284ZM15.7811 16.8284C15.7811 14.6566 17.548 12.8897 19.7197 12.8897C21.8915 12.8897 23.6583 14.6566 23.6583 16.8284C23.6583 19.0002 21.8915 20.7671 19.7197 20.7671C17.548 20.7671 15.7811 19.0002 15.7811 16.8284ZM17.1909 16.8284C17.1909 18.2229 18.3253 19.3573 19.7197 19.3573C21.1142 19.3573 22.2486 18.2229 22.2486 16.8284C22.2486 15.4339 21.1142 14.2995 19.7197 14.2995C18.3253 14.2995 17.1909 15.4339 17.1909 16.8284Z",fill:"white"}))},l=function(){return c.a.createElement("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.3136 40C31.365 40 40.324 31.0457 40.324 20C40.324 8.9543 31.365 0 20.3136 0C9.26217 0 0.303223 8.9543 0.303223 20C0.303223 31.0457 9.26217 40 20.3136 40Z",fill:"#EA5455"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.1617 9.64062H22.0708C22.5226 9.64062 22.8889 9.27337 22.8889 8.82031C22.8889 8.36725 22.5226 8 22.0708 8H17.1617C16.7098 8 16.3435 8.36725 16.3435 8.82031C16.3435 9.27337 16.7098 9.64062 17.1617 9.64062ZM21.9304 16.4962L19.0377 19.3964C18.7182 19.7167 18.7181 20.2361 19.0377 20.5565C19.3573 20.8769 19.8753 20.8768 20.1948 20.5565L23.0875 17.6563C23.407 17.3359 23.407 16.8166 23.0875 16.4962C22.768 16.1759 22.25 16.1759 21.9304 16.4962ZM10.6162 19.9766C10.6162 14.9889 14.6422 10.9531 19.6162 10.9531C24.5909 10.9531 28.6162 14.9896 28.6162 19.9766C28.6162 24.9641 24.5903 29 19.6162 29C14.6415 29 10.6162 24.9635 10.6162 19.9766ZM12.2526 19.9766C12.2526 24.0474 15.5559 27.3594 19.6162 27.3594C23.6765 27.3594 26.9798 24.0474 26.9798 19.9766C26.9798 15.9057 23.6765 12.5938 19.6162 12.5938C15.5559 12.5938 12.2526 15.9057 12.2526 19.9766Z",fill:"white"}))},i=function(){return c.a.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",fill:"#7E72F2"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M43.5169 29.5079L43.5158 29.4994L43.5158 29.499C43.5153 29.4948 43.5148 29.4906 43.5141 29.4865C43.5083 29.4513 43.5006 29.4161 43.4897 29.3814L43.4894 29.3803C43.4792 29.3478 43.4662 29.3158 43.4515 29.2842C43.4484 29.2774 43.445 29.2708 43.4417 29.2642L43.4416 29.2641L43.4383 29.2575C43.4267 29.2347 43.4138 29.2122 43.3998 29.19L43.3963 29.1843C43.3914 29.1766 43.3866 29.1688 43.3813 29.1611L43.3769 29.1542L43.3741 29.1497L43.3713 29.1455C43.3565 29.125 43.3404 29.1058 43.324 29.0867L43.3198 29.0815L43.3186 29.0799L43.3153 29.0759C43.2904 29.0476 43.2634 29.0214 43.2352 28.9965C43.2299 28.9918 43.2241 28.9874 43.2186 28.9829C43.1941 28.9622 43.1687 28.9429 43.1421 28.9247L43.1373 28.9214L43.1276 28.9148L43.1218 28.911C43.0862 28.888 43.0496 28.8665 43.0114 28.8479L28.3109 21.5457L36.775 16.8881L50.9648 23.9365L44.9887 27.225C44.5223 27.4815 44.3823 28.02 44.676 28.4275C44.9695 28.835 45.5856 28.9574 46.052 28.7007L53.4385 24.6362C53.7354 24.4728 53.9123 24.1852 53.9043 23.8786C53.8965 23.572 53.705 23.2917 53.3998 23.1402L37.2418 15.1139C36.9222 14.955 36.5283 14.9629 36.217 15.1341L25.844 20.8422L25.8376 20.8456L20.6542 23.698L20.6471 23.7019L10.2671 29.4139C9.97012 29.5773 9.79321 29.8649 9.80119 30.1715C9.80908 30.4781 10.0006 30.7584 10.3057 30.9099L26.4639 38.9362C26.6169 39.0123 26.787 39.0501 26.9569 39.0501C27.1418 39.0501 27.3264 39.0052 27.4885 38.916L34.875 34.8514C35.3414 34.5948 35.4814 34.0564 35.1877 33.6489C34.8943 33.2413 34.278 33.1189 33.8118 33.3756L26.9307 37.1621L12.7409 30.1135L21.205 25.4558L36.339 32.9734V42.9299C36.339 43.2474 36.5365 43.5398 36.8546 43.6933C37.005 43.7658 37.171 43.8019 37.3369 43.8019C37.5219 43.8019 37.7065 43.7569 37.8685 43.6677L43.0586 40.8117C43.3488 40.6521 43.5248 40.3735 43.5248 40.0739V29.61C43.5248 29.6049 43.5238 29.6 43.5236 29.5949C43.523 29.5659 43.5208 29.537 43.5169 29.5079ZM38.3347 41.3504V32.4661C38.3347 32.1525 38.1419 31.8631 37.8299 31.7081L23.1209 24.4017L26.395 22.5999L40.5847 29.6484L39.3423 30.332C38.8759 30.5886 38.7359 31.127 39.0296 31.5345C39.2192 31.7979 39.5434 31.942 39.8749 31.942C40.0565 31.942 40.2405 31.8987 40.4056 31.8078L41.529 31.1896V39.5926L38.3347 41.3504ZM52.3743 26.6484L44.9878 30.713C44.5214 30.9695 44.3814 31.508 44.6751 31.9155C44.8647 32.1788 45.1889 32.3229 45.5204 32.3229C45.702 32.3229 45.886 32.2796 46.0511 32.1887L53.4376 28.1242C53.904 27.8676 54.044 27.3292 53.7503 26.9217C53.4567 26.5141 52.8406 26.3917 52.3743 26.6484ZM26.9302 40.65L33.8113 36.8635C34.2775 36.6068 34.8938 36.7292 35.1873 37.1368C35.4809 37.5443 35.3409 38.0828 34.8745 38.3393L27.488 42.404C27.3259 42.4932 27.1413 42.5381 26.9564 42.5381C26.7865 42.5381 26.6164 42.5002 26.4634 42.4241L10.3052 34.3979C9.82605 34.1599 9.65851 33.6275 9.93082 33.2089C10.2031 32.79 10.8126 32.6439 11.2914 32.8817L26.9302 40.65ZM52.3743 30.1362L44.9878 34.2008C44.5214 34.4574 44.3814 34.9958 44.6751 35.4033C44.8647 35.6666 45.1889 35.8108 45.5204 35.8108C45.702 35.8108 45.886 35.7674 46.0511 35.6766L53.4376 31.612C53.904 31.3554 54.044 30.817 53.7503 30.4095C53.4567 30.0019 52.8406 29.8795 52.3743 30.1362ZM26.9302 44.1379L33.8113 40.3514C34.2775 40.0947 34.8938 40.2171 35.1873 40.6248C35.4809 41.0323 35.3409 41.5707 34.8745 41.8273L27.488 45.8919C27.3259 45.9811 27.1413 46.026 26.9564 46.026C26.7865 46.026 26.6164 45.9882 26.4634 45.9121L10.3052 37.8858C9.82605 37.6478 9.65851 37.1155 9.93082 36.6969C10.2031 36.278 10.8126 36.1318 11.2914 36.3697L26.9302 44.1379ZM52.3743 33.624L44.9878 37.6886C44.5214 37.9451 44.3814 38.4835 44.6751 38.891C44.8647 39.1544 45.1889 39.2985 45.5204 39.2985C45.702 39.2985 45.886 39.2552 46.0511 39.1643L53.4376 35.0997C53.904 34.8432 54.044 34.3047 53.7503 33.8972C53.4567 33.4897 52.8406 33.3673 52.3743 33.624ZM26.9302 47.6259L33.8113 43.8393C34.2775 43.5826 34.8938 43.7051 35.1873 44.1127C35.4809 44.5202 35.3409 45.0586 34.8745 45.3152L27.488 49.3798C27.3259 49.4691 27.1413 49.514 26.9564 49.514C26.7865 49.514 26.6164 49.4761 26.4634 49.4L10.3052 41.3737C9.82605 41.1358 9.65851 40.6034 9.93082 40.1848C10.2031 39.7659 10.8126 39.6197 11.2914 39.8576L26.9302 47.6259Z",fill:"white"}))},s=function(e){return c.a.createElement("svg",{className:"Edit",onClick:e.onClick,width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{opacity:"0.5",d:"M16.3855 2.58644L13.739 0.273696C13.3214 -0.0912319 12.6443 -0.0912319 12.2266 0.273696L3.2143 8.14955C3.21201 8.15151 3.21009 8.1537 3.20786 8.1557L7.36606 11.7895C7.36835 11.7875 7.37085 11.7858 7.37309 11.7839L16.3855 3.90808C16.8031 3.5431 16.8031 2.95142 16.3855 2.58644Z",fill:"#EBEEFC"}),c.a.createElement("path",{opacity:"0.5",d:"M0.76888 12.5829C0.585236 12.9656 0.684632 13.4073 1.02046 13.7008C1.35628 13.9943 1.86177 14.0811 2.29973 13.9206L6.58011 12.3522L2.56366 8.84229L0.76888 12.5829Z",fill:"#EBEEFC"}))},o=function(){return c.a.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.9999 64C49.673 64 63.9999 49.6731 63.9999 32C63.9999 14.3269 49.673 0 31.9999 0C14.3268 0 -9.15527e-05 14.3269 -9.15527e-05 32C-9.15527e-05 49.6731 14.3268 64 31.9999 64Z",fill:"#2093D3"}),c.a.createElement("path",{d:"M56.5109 30.6296C58.4926 29.204 58.7734 26.6476 57.1382 24.9199C56.2498 23.9813 54.9252 23.4401 53.5295 23.4455C53.3995 23.4455 53.2771 23.4698 53.1498 23.479C52.4107 21.9826 50.7255 21.0099 48.8569 21.0011C46.9259 20.9995 45.1958 22.0411 44.5136 23.616C43.6912 23.3885 42.8084 23.3885 41.986 23.616C41.0775 21.5247 38.3966 20.4715 35.998 21.2636C34.7593 21.6726 33.7798 22.5234 33.306 23.6019C32.4781 23.3884 31.5964 23.3934 30.7718 23.616C29.8632 21.5246 27.182 20.4714 24.7833 21.2637C23.539 21.6746 22.5566 22.5312 22.0853 23.616C21.2629 23.3885 20.38 23.3885 19.5576 23.616C18.8753 22.0411 17.1453 20.9995 15.2144 21.0011C13.3458 21.0099 11.6604 21.9825 10.9214 23.479C10.7942 23.4699 10.6718 23.4455 10.5418 23.4455C7.97269 23.4355 5.88066 25.2433 5.86921 27.4832C5.86302 28.7 6.48377 29.8551 7.56033 30.6295C5.34343 31.7052 3.97775 33.7511 4.00018 35.963V42.1852C3.99983 42.635 4.41779 42.9997 4.93364 43C4.93399 43 4.93434 43 4.9347 43H59.1366C59.6524 43.0003 60.0707 42.6359 60.0711 42.1861C60.0711 42.1858 60.0711 42.1855 60.0711 42.1852V35.963C60.0935 33.7512 58.7279 31.7053 56.5109 30.6296ZM53.5295 25.0751C55.0771 25.0765 56.3314 26.1701 56.333 27.5194C56.333 28.8694 55.0778 29.9637 53.5295 29.9637C51.9811 29.9637 50.7259 28.8694 50.7259 27.5194C50.7259 26.1694 51.9811 25.0751 53.5295 25.0751ZM48.8569 22.6308C49.8975 22.6367 50.8494 23.1427 51.3322 23.9464C49.819 24.6466 48.8688 26.0146 48.8582 27.5082C48.5338 27.5096 48.2114 27.4629 47.905 27.3698C47.8542 26.1986 47.2234 25.104 46.1758 24.3694C46.5273 23.3349 47.6195 22.6266 48.8569 22.6308ZM43.2498 25.0751C44.7975 25.0765 46.0517 26.1701 46.0533 27.5194C46.0533 28.8694 44.7982 29.9637 43.2498 29.9637C41.7014 29.9637 40.4463 28.8694 40.4463 27.5194C40.4463 26.1694 41.7014 25.0751 43.2498 25.0751ZM37.6427 22.6308C38.8801 22.6266 39.9723 23.3349 40.3237 24.3693C39.2821 25.1002 38.6527 26.1871 38.5966 27.3518C37.9819 27.5422 37.3108 27.5431 36.6956 27.3542C36.6406 26.1835 36.0102 25.09 34.9654 24.3529C35.3238 23.3265 36.4121 22.6264 37.6427 22.6308ZM29.6273 26.2634C30.1332 25.5244 31.0485 25.0729 32.0356 25.0751C32.538 25.0735 33.0313 25.1927 33.4611 25.4196C34.7871 26.1097 35.2203 27.6062 34.4289 28.7623C33.6375 29.9183 31.921 30.2961 30.5951 29.6061C29.2691 28.916 28.8358 27.4195 29.6273 26.2634ZM26.4285 22.6308C27.6659 22.6266 28.7582 23.3349 29.1095 24.3693C28.0679 25.1002 27.4385 26.1871 27.3824 27.3518C26.7653 27.5429 26.0916 27.5429 25.4745 27.3518C25.4184 26.1872 24.789 25.1002 23.7474 24.3693C24.0989 23.3349 25.1911 22.6266 26.4285 22.6308ZM20.8214 25.0751C22.3691 25.0765 23.6234 26.1701 23.625 27.5194C23.625 28.8694 22.3698 29.9637 20.8214 29.9637C19.2731 29.9637 18.0179 28.8694 18.0179 27.5194C18.0179 26.1694 19.2731 25.0751 20.8214 25.0751ZM15.2144 22.6308C16.4518 22.6266 17.544 23.3349 17.8954 24.3693C16.8478 25.1039 16.217 26.1985 16.1662 27.3697C15.8598 27.4628 15.5375 27.5096 15.213 27.5081C15.2023 26.0145 14.2522 24.6466 12.7389 23.9463C13.2219 23.1428 14.1738 22.6368 15.2144 22.6308ZM10.5418 25.0751C12.0902 25.0751 13.3453 26.1694 13.3453 27.5194C13.3453 28.8694 12.0902 29.9637 10.5418 29.9637C8.99411 29.9623 7.73988 28.8688 7.73824 27.5194C7.73824 26.1694 8.99341 25.0751 10.5418 25.0751ZM14.2798 35.9631V41.3706H5.86921V35.9631C5.78207 33.6336 7.87036 31.6806 10.5418 31.5933C12.3207 31.6217 13.9244 32.5348 14.6694 33.9435C14.4128 34.5934 14.2811 35.2759 14.2798 35.9631ZM13.518 30.6335C14.085 30.2284 14.535 29.7127 14.8313 29.1281C14.9589 29.1372 15.0861 29.149 15.2144 29.149C15.6417 29.1482 16.0668 29.0963 16.4778 28.995C16.7669 29.6311 17.2354 30.1933 17.8399 30.6296C16.9915 31.0327 16.2539 31.592 15.6781 32.2685C15.1036 31.5926 14.3663 31.0345 13.518 30.6335ZM25.494 35.9631V41.3706H16.1489V35.9631C16.0617 33.6336 18.15 31.6806 20.8214 31.5933C23.4929 31.6806 25.5813 33.6336 25.494 35.9631ZM23.8029 30.6296C24.4074 30.1933 24.8758 29.6311 25.1651 28.995C25.9909 29.2003 26.8662 29.2003 27.6921 28.995C27.9812 29.6311 28.4497 30.1933 29.0542 30.6296C27.9546 31.1547 27.0452 31.9372 26.4285 32.8889C25.8119 31.9372 24.9025 31.1547 23.8029 30.6296ZM36.7082 35.9631V41.3706H27.363V35.9631C27.2759 33.6336 29.3642 31.6806 32.0356 31.5933C34.7071 31.6806 36.7955 33.6336 36.7082 35.9631ZM35.0171 30.6296C35.6216 30.1933 36.09 29.6311 36.3792 28.995C37.2051 29.2003 38.0804 29.2003 38.9063 28.995C39.1954 29.6311 39.6638 30.1933 40.2683 30.6296C39.1688 31.1547 38.2594 31.9372 37.6427 32.8889C37.0261 31.9372 36.1166 31.1547 35.0171 30.6296ZM47.9224 35.9631V41.3706H38.5772V35.9631C38.3962 33.7132 40.3412 31.7612 42.9219 31.6034C45.5024 31.4454 47.7413 33.1414 47.9224 35.3913C47.9377 35.5817 47.9377 35.7728 47.9224 35.9631ZM48.3931 32.2685C47.8174 31.5921 47.0797 31.0328 46.2313 30.6296C46.8358 30.1933 47.3042 29.631 47.5934 28.995C48.0045 29.0963 48.4297 29.1482 48.8569 29.149C48.9852 29.149 49.1125 29.1372 49.2399 29.1281C49.5363 29.7127 49.9861 30.2283 50.5533 30.6335C49.705 31.0345 48.9676 31.5926 48.3931 32.2685ZM58.202 35.9631V41.3706H49.7914V35.9631C49.7901 35.2758 49.6585 34.5934 49.4018 33.9434C50.1469 32.5347 51.7505 31.6216 53.5295 31.5932C56.2009 31.6806 58.2893 33.6336 58.202 35.9631Z",fill:"white"}))},u=function(){return c.a.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.0001 64C49.6732 64 64.0001 49.6731 64.0001 32C64.0001 14.3269 49.6732 0 32.0001 0C14.327 0 0.00012207 14.3269 0.00012207 32C0.00012207 49.6731 14.327 64 32.0001 64Z",fill:"#2FCD7C"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.9679 21.0409L58.4907 24.9934V24.9926C59.5614 25.9279 59.5614 27.4448 58.4907 28.3805L30.6002 52.7551C29.5295 53.6904 27.7946 53.6904 26.7243 52.7551L24.7854 51.0615L21.5555 53.8849C20.4852 54.8198 18.7502 54.8198 17.68 53.8849L13.1572 49.9317L13.8032 49.3672C14.8739 48.4319 14.8739 46.915 13.8032 45.9797C12.7186 45.0744 11.0113 45.0744 9.92632 45.9797L9.28078 46.5442L4.75795 42.5918C3.68725 41.6565 3.68725 40.1395 4.75795 39.2039L32.6484 14.8308C33.7191 13.8951 35.4545 13.8951 36.5252 14.8308L38.4632 16.5244L41.6927 13.7018C42.7634 12.7661 44.4993 12.7661 45.5696 13.7018L50.0924 17.6534L49.4464 18.2179C48.7442 18.821 48.4667 19.7072 48.7188 20.5388C48.9708 21.3707 49.7141 22.0203 50.6656 22.2409C51.6177 22.4612 52.6313 22.2187 53.3219 21.6054L53.9679 21.0409ZM19.6166 52.9886C19.8589 52.9886 20.0913 52.9044 20.2626 52.7543L23.4926 49.9317L22.1997 48.8027L22.8466 48.2381C23.9173 47.3029 23.9173 45.7859 22.8466 44.8506C21.7763 43.915 20.0404 43.915 18.9702 44.8506L18.3242 45.4151L13.8023 41.4627C12.7325 40.5274 12.7325 39.0113 13.8023 38.076L37.1712 17.6534L35.2333 15.9598C35.0619 15.8097 34.8295 15.7255 34.5868 15.7255C34.3441 15.7255 34.1117 15.8097 33.9404 15.9598L6.04904 40.3337C5.69214 40.6456 5.69214 41.1508 6.04904 41.4627L9.34368 44.3411C11.155 43.2912 13.5618 43.5017 15.0992 44.8448C16.6361 46.1879 16.8774 48.2912 15.6764 49.8744L18.9702 52.7543C19.1415 52.9044 19.3739 52.9886 19.6166 52.9886ZM29.3074 51.6253L57.1987 27.2522L57.1996 27.2483C57.5561 26.9364 57.5561 26.4308 57.1996 26.1193L53.9032 23.2386C52.0919 24.2865 49.6864 24.0748 48.1504 22.7325C46.6144 21.3898 46.3726 19.2881 47.5722 17.7053L44.2776 14.8308C44.1063 14.6811 43.8738 14.5965 43.6311 14.5965C43.3889 14.5965 43.156 14.6811 42.9847 14.8308L15.0942 39.2046C14.7373 39.5165 14.7373 40.0222 15.0942 40.3337L18.3898 43.2136C20.2015 42.1707 22.6021 42.3824 24.1386 43.7208C25.6746 45.0619 25.9181 47.1629 24.7207 48.7461L28.0154 51.6253C28.3718 51.9372 28.9505 51.9372 29.3074 51.6253ZM37.9271 21.5098L36.6347 22.6388L37.9271 23.7679L39.2191 22.6388L37.9271 21.5098ZM39.2194 24.8961L40.5119 23.7671L41.8039 24.8961L40.5119 26.0252L39.2194 24.8961ZM41.8042 27.155L43.0966 26.0264L44.3882 27.1558L43.0957 28.2845L41.8042 27.155ZM46.9726 31.6715L48.2651 30.5425L49.557 31.6715L48.2651 32.8006L46.9726 31.6715ZM45.6798 28.2832L44.3879 29.4126L45.6803 30.5417L46.9723 29.4122L45.6798 28.2832ZM31.6656 44.3191C31.3221 44.3187 31.008 44.1503 30.8523 43.8832L29.2021 41.0552L25.6153 41.5507C25.2222 41.6076 24.8319 41.4353 24.6516 41.1249C24.4709 40.8142 24.5414 40.4376 24.8256 40.1936L27.394 37.9491L25.7495 35.1211C25.5698 34.8127 25.6376 34.4384 25.9177 34.194C26.1975 33.9491 26.6257 33.8899 26.9782 34.047L30.2157 35.4844L32.7836 33.2392C33.0629 32.9905 33.4943 32.9289 33.8494 33.0868C34.205 33.2446 34.4022 33.5854 34.337 33.9289L33.7562 37.0715L36.9933 38.5136C37.3452 38.6712 37.5415 39.0088 37.4791 39.3503C37.4166 39.6918 37.1097 39.9593 36.7189 40.0131L33.1311 40.5097L32.5681 43.645C32.5061 43.9865 32.1996 44.2544 31.8088 44.3086C31.7615 44.3156 31.7134 44.3191 31.6656 44.3191ZM29.7156 39.3741C30.0591 39.3741 30.3736 39.5429 30.5298 39.8103L31.203 40.9655L31.4354 39.6879C31.4974 39.3464 31.8044 39.0786 32.1956 39.0244L33.6571 38.8209L32.3353 38.2326C31.9824 38.0754 31.7856 37.7382 31.8472 37.3967L32.0792 36.1152L31.0335 37.0318C30.7533 37.2758 30.325 37.3351 29.9726 37.1776L28.6494 36.5893L29.3239 37.7448C29.5032 38.0528 29.4354 38.4271 29.1557 38.6715L28.106 39.5897L29.5724 39.3869C29.6197 39.3791 29.6674 39.3749 29.7156 39.3741Z",fill:"white"}))},m=function(){return c.a.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.3102 64C49.9833 64 64.3102 49.6731 64.3102 32C64.3102 14.3269 49.9833 0 32.3102 0C14.6371 0 0.310181 14.3269 0.310181 32C0.310181 49.6731 14.6371 64 32.3102 64Z",fill:"#CDAA2F"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.0129 23.0409L58.5358 26.9934V26.9926C59.6065 27.9279 59.6065 29.4448 58.5358 30.3805L30.6453 54.7551C29.5746 55.6904 27.8396 55.6904 26.7694 54.7551L24.8305 53.0615L21.6006 55.8849C20.5303 56.8198 18.7953 56.8198 17.7251 55.8849L13.2022 51.9317L13.8482 51.3672C14.9189 50.4319 14.9189 48.915 13.8482 47.9797C12.7637 47.0744 11.0564 47.0744 9.9714 47.9797L9.32585 48.5442L4.80303 44.5918C3.73232 43.6565 3.73232 42.1395 4.80303 41.2039L32.6935 16.8308C33.7642 15.8951 35.4996 15.8951 36.5703 16.8308L38.5083 18.5244L41.7378 15.7018C42.8085 14.7661 44.5444 14.7661 45.6146 15.7018L50.1375 19.6534L49.4915 20.2179C48.7893 20.821 48.5118 21.7072 48.7638 22.5388C49.0159 23.3707 49.7591 24.0203 50.7107 24.2409C51.6628 24.4612 52.6764 24.2187 53.367 23.6054L54.0129 23.0409ZM19.6617 54.9886C19.9039 54.9886 20.1364 54.9044 20.3077 54.7543L23.5376 51.9317L22.2448 50.8027L22.8916 50.2381C23.9624 49.3029 23.9624 47.7859 22.8916 46.8506C21.8214 45.915 20.0855 45.915 19.0153 46.8506L18.3693 47.4151L13.8473 43.4627C12.7775 42.5274 12.7775 41.0113 13.8473 40.076L37.2163 19.6534L35.2783 17.9598C35.107 17.8097 34.8746 17.7255 34.6319 17.7255C34.3892 17.7255 34.1568 17.8097 33.9855 17.9598L6.09412 42.3337C5.73721 42.6456 5.73721 43.1508 6.09412 43.4627L9.38875 46.3411C11.2 45.2912 13.6069 45.5017 15.1442 46.8448C16.6811 48.1879 16.9225 50.2912 15.7215 51.8744L19.0153 54.7543C19.1866 54.9044 19.419 54.9886 19.6617 54.9886ZM29.3524 53.6253L57.2438 29.2522L57.2447 29.2483C57.6011 28.9364 57.6011 28.4308 57.2447 28.1193L53.9483 25.2386C52.137 26.2865 49.7315 26.0748 48.1955 24.7325C46.6595 23.3898 46.4177 21.2881 47.6173 19.7053L44.3226 16.8308C44.1513 16.6811 43.9189 16.5965 43.6762 16.5965C43.434 16.5965 43.2011 16.6811 43.0298 16.8308L15.1393 41.2046C14.7824 41.5165 14.7824 42.0222 15.1393 42.3337L18.4349 45.2136C20.2466 44.1707 22.6472 44.3824 24.1836 45.7208C25.7196 47.0619 25.9632 49.1629 24.7658 50.7461L28.0605 53.6253C28.4169 53.9372 28.9955 53.9372 29.3524 53.6253ZM37.9722 23.5098L36.6798 24.6388L37.9722 25.7679L39.2642 24.6388L37.9722 23.5098ZM39.2645 26.8961L40.5569 25.7671L41.8489 26.8961L40.5569 28.0252L39.2645 26.8961ZM41.8493 29.155L43.1417 28.0264L44.4332 29.1558L43.1408 30.2845L41.8493 29.155ZM47.0177 33.6715L48.3101 32.5425L49.6021 33.6715L48.3101 34.8006L47.0177 33.6715ZM45.7249 30.2832L44.4329 31.4126L45.7254 32.5417L47.0173 31.4122L45.7249 30.2832ZM31.7107 46.3191C31.3672 46.3187 31.0531 46.1503 30.8974 45.8832L29.2472 43.0552L25.6603 43.5507C25.2673 43.6076 24.8769 43.4353 24.6967 43.1249C24.516 42.8142 24.5865 42.4376 24.8707 42.1936L27.439 39.9491L25.7946 37.1211C25.6148 36.8127 25.6826 36.4384 25.9628 36.194C26.2425 35.9491 26.6708 35.8899 27.0232 36.047L30.2608 37.4844L32.8287 35.2392C33.108 34.9905 33.5394 34.9289 33.8945 35.0868C34.25 35.2446 34.4472 35.5854 34.3821 35.9289L33.8012 39.0715L37.0383 40.5136C37.3903 40.6712 37.5866 41.0088 37.5242 41.3503C37.4617 41.6918 37.1548 41.9593 36.764 42.0131L33.1762 42.5097L32.6132 45.645C32.5512 45.9865 32.2447 46.2544 31.8539 46.3086C31.8066 46.3156 31.7584 46.3191 31.7107 46.3191ZM29.7607 41.3741C30.1042 41.3741 30.4187 41.5429 30.5749 41.8103L31.2481 42.9655L31.4805 41.6879C31.5425 41.3464 31.8494 41.0786 32.2407 41.0244L33.7022 40.8209L32.3803 40.2326C32.0274 40.0754 31.8307 39.7382 31.8923 39.3967L32.1242 38.1152L31.0785 39.0318C30.7984 39.2758 30.3701 39.3351 30.0176 39.1776L28.6944 38.5893L29.369 39.7448C29.5483 40.0528 29.4805 40.4271 29.2008 40.6715L28.1511 41.5897L29.6175 41.3869C29.6648 41.3791 29.7125 41.3749 29.7607 41.3741Z",fill:"white"}))},d=function(e){return c.a.createElement("svg",{className:"CloseIcon",onClick:e.onClick,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4937 1.49372C15.8354 1.15201 15.8354 0.59799 15.4937 0.256282C15.152 -0.0854272 14.598 -0.0854272 14.2563 0.256282L7.875 6.63756L1.49372 0.256282C1.15201 -0.0854272 0.59799 -0.0854272 0.256282 0.256282C-0.0854272 0.59799 -0.0854272 1.15201 0.256282 1.49372L6.63756 7.875L0.256282 14.2563C-0.0854272 14.598 -0.0854272 15.152 0.256282 15.4937C0.59799 15.8354 1.15201 15.8354 1.49372 15.4937L7.875 9.11244L14.2563 15.4937C14.598 15.8354 15.152 15.8354 15.4937 15.4937C15.8354 15.152 15.8354 14.598 15.4937 14.2563L9.11244 7.875L15.4937 1.49372Z",fill:"#EBEEFC"}))},f=function(){return c.a.createElement("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 40C31.2696 40 40 31.2696 40 20.5C40 9.73045 31.2696 1 20.5 1C9.73045 1 1 9.73045 1 20.5C1 31.2696 9.73045 40 20.5 40Z",stroke:"#6F64F8"}),c.a.createElement("path",{d:"M32.5426 18.3018L30.2934 17.2748L28.3082 14.1076C27.7344 13.1895 26.7245 12.633 25.6401 12.6387H17.1828C16.2016 12.6387 15.2721 13.092 14.6754 13.8723L12.1106 17.2289L7.83606 18.3994C6.75164 18.6977 6 19.6903 6 20.8149V22.4502C6 23.833 7.10164 24.9748 8.48442 24.9748H8.85163C9.29344 26.6789 11.032 27.7002 12.7361 27.2584C13.8549 26.9657 14.7328 26.0936 15.0197 24.9748H24.659C25.1008 26.6789 26.8393 27.7002 28.5434 27.2584C29.6622 26.9657 30.5401 26.0936 30.827 24.9748H31.5155C32.8983 24.9748 33.9999 23.833 33.9999 22.4502V20.5854C34.0057 19.6043 33.4319 18.7092 32.5426 18.3018ZM11.9328 26.2026C10.8082 26.2026 9.89589 25.2903 9.89589 24.1657C9.89589 23.0412 10.8082 22.1289 11.9328 22.1289C13.0574 22.1289 13.9697 23.0412 13.9697 24.1657C13.9754 25.2846 13.0631 26.1969 11.9328 26.2026ZM27.7401 26.2026C26.6155 26.2026 25.7032 25.2903 25.7032 24.1657C25.7032 23.0412 26.6155 22.1289 27.7401 22.1289C28.8647 22.1289 29.777 23.0412 29.777 24.1657C29.7827 25.2846 28.8704 26.1969 27.7401 26.2026ZM31.5155 23.8272H30.9073C30.718 22.0772 29.1401 20.8149 27.3901 21.01C25.9041 21.1707 24.7336 22.3469 24.5729 23.8272H15.1C14.9106 22.0772 13.3328 20.8149 11.5828 21.01C10.0967 21.1707 8.92622 22.3469 8.76557 23.8272H8.47868C7.72705 23.8272 7.1418 23.2018 7.1418 22.4502V20.8149C7.13606 20.201 7.54344 19.6674 8.13442 19.501L12.6041 18.2789C12.7246 18.2444 12.8336 18.1756 12.9082 18.0723L15.5819 14.5666C15.9664 14.0731 16.5574 13.7863 17.1828 13.7863H25.6401C26.3286 13.7805 26.977 14.1305 27.3385 14.7158L29.4155 18.0321C29.4729 18.1297 29.5647 18.2043 29.6622 18.2502L32.0606 19.3461C32.5426 19.5698 32.8524 20.0518 32.8467 20.5854V22.4502H32.8524C32.8524 23.2018 32.2672 23.8272 31.5155 23.8272Z",fill:"#6F64F8",stroke:"#6F64F8",strokeWidth:"0.5"}))},p=function(){return c.a.createElement("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 40C31.2696 40 40 31.2696 40 20.5C40 9.73045 31.2696 1 20.5 1C9.73045 1 1 9.73045 1 20.5C1 31.2696 9.73045 40 20.5 40Z",stroke:"#6F64F8"}),c.a.createElement("path",{d:"M9.33786 22.9186C9.09681 23.0317 8.99046 23.3164 9.09789 23.5597L10.1989 25.9233C10.253 26.041 10.3517 26.1326 10.4731 26.1778C10.5262 26.1971 10.5826 26.2071 10.6393 26.2071C10.7103 26.2077 10.7803 26.1925 10.8448 26.1633L19.1636 22.2777L18.4101 30.1559C18.3955 30.311 18.4553 30.4635 18.5713 30.5671C18.936 30.869 19.3905 31.0409 19.8634 31.0564C19.9938 31.0562 20.1235 31.0398 20.2499 31.0076C20.9252 30.8314 21.4488 30.2296 21.806 29.2019L25.0797 19.5082L31.5633 16.4839C33.4717 15.5934 34.4552 13.7878 33.7947 12.3785C33.4199 11.6418 32.702 11.1407 31.8814 11.0425C30.9696 10.9049 30.0378 11.0483 29.2097 11.4538L21.7276 14.9622L13.6831 11.8158C12.6701 11.4342 11.8677 11.444 11.305 11.8502C10.8329 12.2376 10.5642 12.8199 10.5757 13.4306C10.5806 13.5855 10.6586 13.7288 10.7861 13.8174L16.203 17.5411L13.1008 19.0091L7.89894 17.6877C7.68578 17.6353 7.46389 17.7314 7.35586 17.9227L6.0593 20.2567C5.99203 20.3803 5.98145 20.5271 6.03034 20.6592C6.07891 20.7915 6.1822 20.8961 6.31383 20.9467L10.1649 22.5372L9.33786 22.9186ZM11.5787 13.186C11.6075 12.9792 11.7122 12.7908 11.8724 12.6575C12.1515 12.4568 12.6604 12.4862 13.3405 12.7406L20.5044 15.5347L17.2355 17.0615L11.5787 13.186ZM7.17488 20.2519L8.02628 18.7399L13.0322 19.9827C13.14 20.0099 13.2539 19.9997 13.3553 19.9535L29.6257 12.3541C30.2725 12.035 31.001 11.9189 31.7151 12.0213C32.2159 12.0674 32.662 12.3564 32.9092 12.7944C33.3198 13.6753 32.5126 14.9622 31.1472 15.5983L25.5101 18.2409L25.8528 17.2277C25.9394 16.9671 25.7979 16.6854 25.5373 16.599C25.2763 16.5126 24.9948 16.654 24.9084 16.9147L20.8811 28.8983C20.6413 29.5787 20.3428 29.9849 20.0101 30.0727C19.804 30.1124 19.5907 30.072 19.4131 29.9604L20.3918 19.6842C20.4174 19.414 20.2192 19.1742 19.9488 19.1486C19.6786 19.1227 19.4388 19.3211 19.4131 19.5913L19.2615 21.162L10.8643 25.0767L10.1747 23.6086L11.5543 22.9629C11.7319 22.8846 11.8464 22.709 11.8464 22.5151C11.8464 22.3211 11.7319 22.1455 11.5543 22.0673L7.17488 20.2519Z",fill:"#6F64F8",stroke:"#6F64F8",strokeWidth:"0.998947"}))},b=function(){return c.a.createElement("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 40C31.2696 40 40 31.2696 40 20.5C40 9.73045 31.2696 1 20.5 1C9.73045 1 1 9.73045 1 20.5C1 31.2696 9.73045 40 20.5 40Z",stroke:"#6F64F8"}),c.a.createElement("g",{clipPath:"url(#clip0)"},c.a.createElement("path",{d:"M31.9583 20.7605V18.6772C31.9583 17.0938 30.9375 16.073 29.3542 16.073H17.375C15.7917 16.073 14.7709 17.0939 14.7709 18.6772V20.7442L9.70312 20.7553H9.04165V11.9219C9.04165 11.6615 8.85415 11.4272 8.59893 11.3907C8.27603 11.3438 8 11.5938 8 11.9063V29.0782C8 29.3386 8.1875 29.573 8.44272 29.6094C8.76562 29.6563 9.0417 29.4063 9.0417 29.0938V25.9688H31.9583V29.0782C31.9583 29.3386 32.1458 29.573 32.4011 29.6094C32.724 29.6563 33 29.4063 33 29.0938V21.8022C33 21.0938 32.6667 20.7657 31.9583 20.7605ZM15.8125 18.6772C15.8125 17.3178 16.7917 17.1147 17.375 17.1147H29.3542C29.9375 17.1147 30.9167 17.3178 30.9167 18.6772V20.7605H15.8125V18.6772ZM31.9583 24.9272H9.04165V21.8022H31.9583V24.9272Z",fill:"#6F64F8",stroke:"#6F64F8"}),c.a.createElement("path",{d:"M11.9307 14.958C10.3329 14.958 9.0376 16.2533 9.0376 17.8511C9.0376 19.4489 10.3329 20.7441 11.9307 20.7441C13.5285 20.7441 14.8237 19.4489 14.8237 17.8511C14.8237 16.2533 13.5285 14.958 11.9307 14.958ZM11.9307 19.8164C10.8453 19.8164 9.96533 18.9365 9.96533 17.8511C9.96533 16.7657 10.8453 15.8857 11.9307 15.8857C13.0161 15.8857 13.896 16.7657 13.896 17.8511C13.896 18.9365 13.0161 19.8164 11.9307 19.8164Z",fill:"#6F64F8",stroke:"#6F64F8"})),c.a.createElement("defs",null,c.a.createElement("clipPath",{id:"clip0"},c.a.createElement("rect",{x:"8",y:"8",width:"25",height:"25",fill:"white"}))))},C=function(){return c.a.createElement("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5 40C31.2696 40 40 31.2696 40 20.5C40 9.73045 31.2696 1 20.5 1C9.73045 1 1 9.73045 1 20.5C1 31.2696 9.73045 40 20.5 40Z",stroke:"#6F64F8"}),c.a.createElement("path",{d:"M28.3973 7C26.5844 7 25.1096 8.47487 25.1096 10.2876V12.3738C24.6256 12.093 24.0644 11.9314 23.4658 11.9314C22.4845 11.9314 21.6029 12.3641 21 13.048C20.3971 12.3641 19.5155 11.9314 18.5343 11.9314C17.9357 11.9314 17.3745 12.093 16.8904 12.3738V10.2876C16.8904 8.47487 15.4156 7 13.6028 7C11.7899 7 10.3151 8.47487 10.3151 10.2876V21.0274V22.6712V25.9589C10.3151 30.9442 14.3709 35 19.3562 35H22.6438C27.6291 35 31.6849 30.9442 31.6849 25.9589V10.2876C31.685 8.47487 30.2101 7 28.3973 7ZM21.8219 15.2192C21.8219 14.3128 22.5593 13.5754 23.4658 13.5754C24.3722 13.5754 25.1096 14.3128 25.1096 15.2192V19.004C24.6256 18.7233 24.0644 18.5616 23.4658 18.5616H21.8219V15.2192ZM16.8904 15.2192C16.8904 14.3128 17.6278 13.5754 18.5343 13.5754C19.4407 13.5754 20.1781 14.3128 20.1781 15.2192V18.5616H16.8905V15.2192H16.8904ZM11.9589 10.2876C11.9589 9.38126 12.6963 8.6438 13.6028 8.6438C14.5092 8.6438 15.2466 9.3812 15.2466 10.2876V18.6206C13.9673 18.8044 12.8227 19.4106 11.959 20.2929V10.2876H11.9589ZM30.0411 25.9589C30.0411 30.0378 26.7227 33.3561 22.6439 33.3561H19.3562C15.2774 33.3561 11.959 30.0377 11.959 25.9589V24.315C11.959 22.049 13.8025 20.2054 16.0686 20.2054H23.4658C24.3722 20.2054 25.1097 20.9429 25.1097 21.8493C25.1097 22.7557 24.3723 23.4931 23.4658 23.4931H16.0685C15.6146 23.4931 15.2466 23.8611 15.2466 24.315C15.2466 24.769 15.6146 25.1369 16.0685 25.1369C19.2409 25.1369 21.8219 27.7179 21.8219 30.8903C21.8219 31.3442 22.1899 31.7122 22.6438 31.7122C23.0977 31.7122 23.4657 31.3442 23.4657 30.8903C23.4657 28.5689 22.3905 26.4941 20.7123 25.1369H23.4657C25.2785 25.1369 26.7534 23.6621 26.7534 21.8493V10.2876C26.7534 9.38126 27.4908 8.6438 28.3972 8.6438C29.3036 8.6438 30.0411 9.3812 30.0411 10.2876V25.9589H30.0411Z",fill:"#6F64F8"}))},h=function(){return c.a.createElement("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0104 40C31.0618 40 40.0208 31.0457 40.0208 20C40.0208 8.9543 31.0618 0 20.0104 0C8.95895 0 0 8.9543 0 20C0 31.0457 8.95895 40 20.0104 40Z",fill:"#6F64F8"}),c.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 25C22.7614 25 25 22.7614 25 20C25 17.2386 22.7614 15 20 15C17.2386 15 15 17.2386 15 20C15 22.7614 17.2386 25 20 25Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}},369:function(e,t,a){"use strict";a.d(t,"e",(function(){return f})),a.d(t,"d",(function(){return p})),a.d(t,"f",(function(){return b})),a.d(t,"c",(function(){return C})),a.d(t,"b",(function(){return h})),a.d(t,"a",(function(){return g}));var n=a(2),c=a(6),r=a(7),l=a(12),i=a(13),s=a(101),o=function(e){Object(l.a)(a,e);var t=Object(i.a)(a);function a(){return Object(c.a)(this,a),t.apply(this,arguments)}return Object(r.a)(a,null,[{key:"entity",get:function(){return"contacts"}}]),a}(s.a),u=function(e){Object(l.a)(a,e);var t=Object(i.a)(a);function a(){return Object(c.a)(this,a),t.apply(this,arguments)}return Object(r.a)(a,null,[{key:"entity",get:function(){return"contacts/types"}}]),a}(s.a),m=a(55),d=a(28),f=(a(66),a(497),a(422),a(421),a(33),a(313),function(e){return function(t){t(Object(d.e)("contacts")),o.index(e).then((function(e){t(Object(d.b)(m.d,"contacts",e.data.contacts.data))})).finally((function(){t(Object(d.g)("contacts"))}))}}),p=function(e,t,a){return function(c){c(Object(d.e)("contacts")),o.getById(e,t).then((function(e){var t=Object(n.a)(Object(n.a)({},e.data.contact),{},{type:e.data.contact.type||null});c(Object(d.b)(m.d,"contact",t))})).catch((function(e){c(Object(d.b)(m.d,"params",Object(n.a)(Object(n.a)({},a),{},{contact_id:null,isOpenModal:!1}))),c(Object(d.b)(m.e,"",{}))})).finally((function(){c(Object(d.g)("contacts"))}))}},b=function(){return function(e){e(Object(d.e)("contacts")),u.index().then((function(t){var a=t.data.types.data;e(Object(d.b)(m.d,"types",a))})).finally((function(){e(Object(d.g)("contacts"))}))}},C=function(e,t,a){return function(c){c(Object(d.e)("contacts")),o.create(Object(n.a)(Object(n.a)({},e),{},{type_id:e.type.id})).then((function(){f(t)(c),c(Object(d.b)(m.d,"params",Object(n.a)(Object(n.a)({},a),{},{contact_id:null,isOpenModal:!1}))),c(Object(d.b)(m.e,"",{}))})).finally((function(){c(Object(d.g)("contacts"))}))}},h=function(e,t,a,c){return function(r){r(Object(d.e)("contacts")),o.update(Object(n.a)(Object(n.a)({},t),{},{type_id:t.type.id}),e).then((function(){f(a)(r),r(Object(d.b)(m.d,"params",Object(n.a)(Object(n.a)({},c),{},{contact_id:null,isOpenModal:!1}))),r(Object(d.b)(m.e,"",{}))})).finally((function(){r(Object(d.g)("contacts"))}))}},g=function(e,t,a){return function(c){c(Object(d.e)("contacts")),o.remove(e).then((function(){f(t)(c),c(Object(d.b)(m.d,"params",Object(n.a)(Object(n.a)({},a),{},{contact_id:null,isOpenModal:!1}))),c(Object(d.b)(m.e,"",{}))})).finally((function(){c(Object(d.g)("contacts"))}))}}},371:function(e,t,a){"use strict";var n=a(6),c=a(7),r=a(12),l=a(13),i=a(0),s=a.n(i),o=a(492),u=a(493),m=a(163),d=a(36),f=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement("div",{className:"content-header row"},s.a.createElement("div",{className:"content-header-left col-12 mb-2"},s.a.createElement("div",{className:"row breadcrumbs-top"},s.a.createElement("div",{className:"col-12"},this.props.breadCrumbTitle?s.a.createElement("h2",{className:"content-header-title float-left mb-0"},this.props.breadCrumbTitle):"",s.a.createElement("div",{className:"breadcrumb-wrapper vx-breadcrumbs d-sm-block d-none col-12"},s.a.createElement(o.a,{tag:"ol"},s.a.createElement(u.a,{tag:"li"},s.a.createElement(d.b,{to:"/"},s.a.createElement(m.a,{className:"align-top",size:15}))),this.props.breadCrumbParent?s.a.createElement(u.a,{tag:"li",className:"text-primary"},this.props.breadCrumbParent):"",this.props.breadCrumbParent2?s.a.createElement(u.a,{tag:"li",className:"text-primary"},this.props.breadCrumbParent2):"",this.props.breadCrumbParent3?s.a.createElement(u.a,{tag:"li",className:"text-primary"},this.props.breadCrumbParent3):"",s.a.createElement(u.a,{tag:"li",active:!0},this.props.breadCrumbActive)))))))}}]),a}(s.a.Component);t.a=f},372:function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return l}));var n=a(423),c=(a(33),a(110)),r=function(e,t){return function(a){n.a.index(e).then((function(e){a({type:t,payload:e.data.tags})}))}},l=function(e,t){return function(t){n.a.index(e).then((function(e){t({type:c.a,payload:e.data.tags})}))}}},373:function(e,t,a){"use strict";a.d(t,"d",(function(){return u})),a.d(t,"c",(function(){return m})),a.d(t,"a",(function(){return d})),a.d(t,"b",(function(){return f}));var n=a(584),c=a(39),r=a(359),l=a(424),i=a(32),s=a(28),o=a(48),u=function(e){return{type:i.d,payload:Object(o.d)(e)}},m=function(e){return function(t){return r.c.index(e).then((function(e){return t({type:i.f,payload:e.data.types}),e}))}},d=function(e,t,a){return function(o){o(Object(s.e)("event-create")),l.a.create(e).then((function(e){return o({type:i.g,field:"location_id",payload:e.data.location.id}),e.data.location.id})).then((function(e){var l={name:t.name,project_id:t.project_id,type_id:t.type_id,location_id:e,begin:Object(n.a)(Date,Object(c.a)(t.dateStart).concat(Object(c.a)(t.timeStart))).getTime()/1e3,end:Object(n.a)(Date,Object(c.a)(t.dateEnd).concat(Object(c.a)(t.timeEnd))).getTime()/1e3};r.a.create(l).then((function(e){e.error||(f(a)(o),o({type:i.e,payload:!1}),setTimeout((function(){o({type:i.c})}),100))}))})).finally((function(){o(Object(s.g)("event-create"))}))}},f=function(e,t){return function(a){t&&a(Object(s.e)("events-list")),r.a.index(e).then((function(e){a({type:i.h,payload:e.data.events||{}})})).finally((function(){a(Object(s.g)("events-list"))}))}}},374:function(e,t,a){},420:function(e,t,a){},421:function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return o}));var n=a(6),c=a(7),r=a(12),l=a(13),i=a(101),s=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"projects"}}]),a}(i.a),o=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"projects/users"}}]),a}(i.a)},422:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var n=a(2),c=a(6),r=a(7),l=a(12),i=a(13),s=a(101),o=a(11),u=a(50),m="?verify_id="+Object(o.c)(),d=new u.a,f=function(e){Object(l.a)(a,e);var t=Object(i.a)(a);function a(){return Object(c.a)(this,a),t.apply(this,arguments)}return Object(r.a)(a,null,[{key:"getList",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],c=Object(n.a)({},t);return m="?verify_id="+Object(o.c)(),new Promise((function(t,n){return e.request({auth:!0}).get("".concat(e.entity,"/getList").concat(m),{params:c}).then((function(e){d.setWrapper(e,a).then((function(){return t(e.data)})).catch((function(){return n(e.data)}))})).catch((function(t){n(console.log("getList "+e.entity,t))}))}))}},{key:"entity",get:function(){return"spotify"}}]),a}(s.a)},423:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(6),c=a(7),r=a(12),l=a(13),i=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"tags"}}]),a}(a(101).a)},424:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(6),c=a(7),r=a(12),l=a(13),i=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"locations"}}]),a}(a(101).a)},425:function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));var n=a(6),c=a(7),r=a(12),l=a(13),i=a(101),s=a(11),o=a(50),u=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"getDownloadLink",value:function(e,t){var a=this,n="?verify_id="+Object(s.c)(),c=new o.a;return new Promise((function(r,l){return a.request({auth:!0}).get("".concat(a.entity,"/getDownloadLink/").concat(e).concat(n)).then((function(e){c.setWrapper(e,t).then((function(){return r(e.data)})).catch((function(){return l(e.data)}))})).catch((function(e){l(console.log("getDownloadLink "+a.entity,e))}))}))}},{key:"createWithoutAuth",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.required(),a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=new o.a;return new Promise((function(c,r){return e.request({auth:!1}).post("".concat(e.entity,"/storeWithoutAuth"),t).then((function(e){n.setWrapper(e,a).then((function(){return c(e.data)})).catch((function(){return r(e.data)}))})).catch((function(t){r(console.log("createWithoutAuth "+e.entity,t))}))}))}},{key:"entity",get:function(){return"files"}}]),a}(i.a)},426:function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var n=a(2),c=a(100),r=a(0),l=a.n(r),i=a(809),s=a(308),o=(a(593),a(425)),u=a(347),m=function(e){var t=e.withoutAuth,a=e.userId,m=e.verifyId,d=e.invalid,f=e.type,p=e.file,b=e.fileUploaded,C=Object(r.useState)([]),h=Object(c.a)(C,2),g=h[0],v=h[1],O=Object(r.useState)(!1),j=Object(c.a)(O,2),E=j[0],y=j[1],k=function(){t&&!m||o.a.index({type:f||null}).then((function(e){var t=e.data.files.data||[];v(t)}))};Object(r.useEffect)((function(){k()}),[]);var L=Object(r.useCallback)((function(e){y(!0);var n=new FormData;n.append("file",e[0]),n.append("type",f||null),!t||m?function(e){o.a.create(e).then((function(e){var t=e.data.file||null;t&&b(t)})).finally((function(){k(),y(!1)}))}(n):function(e){e.append("user_id",a||null),o.a.createWithoutAuth(e).then((function(e){var t=e.data.file||null;t&&(v([t]),b(t))})).finally((function(){y(!1)}))}(n)}),[]),N=Object(i.a)({onDrop:L,minSize:0,maxSize:16777216,multiple:!1}),w=N.isDragActive,x=N.isDragAccept,M=N.getRootProps,z=N.getInputProps,Z=N.isDragReject,R=N.rejectedFiles,F=R.length>0&&R[0].size>16777216,T={display:"flex",alignItems:"center",justifyContent:"center",flexWrap:"wrap",paddingBottom:"1.5rem",borderWidth:"0.8px",borderRadius:"5px",borderColor:"#6F64F8",borderStyle:"dashed",backgroundColor:"rgba(81, 166, 145, 0.07)",color:"#6F64F8",outline:"none",transition:"border .24s ease-in-out",minHeight:"87px"},D={boxShadow:"0px 0px 5px rgba(111, 100, 248, 0.83)"},H={borderColor:"#6F64F8"},P={borderColor:"#ff1744",color:"#ff1744"},S=Object(r.useMemo)((function(){return Object(n.a)(Object(n.a)(Object(n.a)(Object(n.a)({},T),w?D:{}),x?H:{}),Z?P:{})}),[w,Z]);return l.a.createElement("div",{className:"fileUpload position-relative"},E&&l.a.createElement(u.a,null),l.a.createElement("div",M({style:S}),l.a.createElement("span",{onClick:function(e){e.stopPropagation()},id:"fileUpload",className:"pt-2 px-1"},l.a.createElement(s.a,{className:"fileUpload-select ".concat(d?"invalid-select":""),classNamePrefix:"dark_select",isSearchable:!1,placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043b",options:g.map((function(e){return Object(n.a)(Object(n.a)({},e),{},{value:e.id,label:"".concat(e.name,".").concat(e.extension)})})),onChange:b,value:p&&{value:p.id,label:p.name}})),l.a.createElement("input",z()),l.a.createElement("span",{className:"pt-2 px-1 d-flex flex-wrap"},l.a.createElement("span",{className:"mx-auto pr-2"},"\u0438\u043b\u0438"),l.a.createElement("span",{className:"text-primary"},!w&&"\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0444\u0430\u0439\u043b\u044b \u0441\u044e\u0434\u0430!",w&&!Z&&"\u041e\u0442\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0444\u0430\u0439\u043b \u0437\u0434\u0435\u0441\u044c!",Z&&"\u0422\u0438\u043f \u0444\u0430\u0439\u043b\u0430 \u043d\u0435 \u043f\u0440\u0438\u043d\u044f\u0442!"),F&&l.a.createElement("span",{className:"text-danger"},"\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439."))))}},491:function(e,t,a){},497:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(6),c=a(7),r=a(12),l=a(13),i=a(101),s=(a(11),function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"groups"}}]),a}(i.a))},507:function(e,t,a){"use strict";var n=a(2),c=a(6),r=a(7),l=a(12),i=a(13),s=a(0),o=a.n(s),u=a(17),m=(a(595),a(508)),d=a.n(m),f=a(308),p=a(372),b=(a(49),function(e){Object(l.a)(a,e);var t=Object(i.a)(a);function a(e){var r;return Object(c.a)(this,a),(r=t.call(this,e)).requestParams={includes:"",fields:"tags.name, tags.id, tags.color",orderBy:"created_at"},r.colourStyles={control:function(e){return Object(n.a)(Object(n.a)({},e),{},{backgroundColor:"transparent"})},option:function(e,t){var a=t.data,c=t.isDisabled,r=t.isFocused,l=t.isSelected,i=d()(a.color);return Object(n.a)(Object(n.a)({},e),{},{backgroundColor:c?null:l?a.color:r?i.alpha(.1).css():null,color:c?"#ccc":l?d.a.contrast(i,"white")>2?"white":"black":a.color,cursor:c?"not-allowed":"default",":active":Object(n.a)(Object(n.a)({},e[":active"]),{},{backgroundColor:!c&&(l?a.color:i.alpha(.3).css())})})},multiValue:function(e,t){var a=t.data,c=d()(a.color);return Object(n.a)(Object(n.a)({},e),{},{backgroundColor:c.alpha(.1).css()})},multiValueLabel:function(e,t){var a=t.data;return Object(n.a)(Object(n.a)({},e),{},{color:a.color})},multiValueRemove:function(e,t){var a=t.data;return Object(n.a)(Object(n.a)({},e),{},{color:a.color,":hover":{backgroundColor:a.color,color:"white"}})}},r.state={},r}return Object(r.a)(a,[{key:"onChange",value:function(e){if(e){if(!(e.length>this.props.length)){this.props.changeTags(e.map((function(e){return Object(n.a)(Object(n.a)({},e),{},{id:e.value})})));var t=document.getElementsByClassName("select__value-container");t[0].scrollLeft=t[0].scrollWidth}}else this.props.changeTags([])}}]),Object(r.a)(a,[{key:"componentDidMount",value:function(){this.props.getTagsList(Object(n.a)(Object(n.a)({},this.requestParams),{},{type:this.props.type}))}},{key:"componentDidUpdate",value:function(e,t,a){}},{key:"render",value:function(){var e=this;return console.log(this.props.selected),o.a.createElement(o.a.Fragment,null,o.a.createElement(f.a,{closeMenuOnSelect:!1,options:this.props.tags&&this.props.tags.data.map((function(e){return Object(n.a)(Object(n.a)({},e),{},{value:e.id,label:e.name})})),value:this.props.selected&&this.props.selected.map((function(e){return Object(n.a)(Object(n.a)({},e),{},{value:e.id,label:e.name})})),isMulti:!0,styles:this.colourStyles,hideSelectedOptions:!0,maxMenuHeight:120,placeholder:"\u0422\u0435\u0433\u0438",className:"dark_select__menu-list ".concat(this.props.className),classNamePrefix:"select",isSearchable:!1,onChange:function(t){return e.onChange(t)}}))}}]),a}(s.Component));t.a=Object(u.b)(null,{getTagsList:p.b})(b)},512:function(e,t,a){"use strict";var n=a(2),c=a(0),r=a.n(c),l=a(574),i=a(509),s=a(510),o=a(500),u=a(501),m=a(511),d=a(107),f=a(181),p=a(55),b=a(308),C=a(17),h=a(28),g=a(369);t.a=Object(C.b)((function(e){return{contact:e.contacts.contact,params:e.contacts.params,types:e.contacts.types,reqParams:e.contacts.reqParams}}),{setFieldData:h.b,setFieldIdData:h.c,getContact:g.d,getTypes:g.f,getContacts:g.e,createContact:g.c,UpdateContact:g.b,DeleteContact:g.a})((function(e){var t=e.contact,a=e.params,C=e.reqParams,h=e.types,g=e.setFieldIdData,v=e.setFieldData,O=e.getContact,j=e.createContact,E=e.UpdateContact,y=e.DeleteContact,k=function(){v(p.d,"params",Object(n.a)(Object(n.a)({},a),{},{contact_id:null,isOpenModal:!1})),v(p.e,"",{})},L=function(e,t,a){g(p.b,e,t,a)},N=function(e){v(p.d,"contact",Object(n.a)(Object(n.a)({},t),e))};return Object(c.useEffect)((function(){a.isOpenModal&&(a.contact_id?O(a.contact_id,C,a):h&&v(p.d,"contact",Object(n.a)(Object(n.a)({},t),{},{data:JSON.parse(h[0].data),type:h[0]})))}),[a.isOpenModal]),r.a.createElement(r.a.Fragment,null,r.a.createElement(l.a,{isOpen:a.isOpenModal,toggle:k,size:"lg"},r.a.createElement(i.a,{toggle:k},a.contact_id?"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0430\u043a\u0442":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0430\u043a\u0442"," ",r.a.createElement(f.a,{size:20})),r.a.createElement(s.a,{className:"p-2"},r.a.createElement(o.a,null,r.a.createElement(u.a,{lg:4,className:"mt-1 d-flex align-items-center"},r.a.createElement("h5",{className:"m-0"},"\u0418\u043c\u044f \u0424\u0430\u043c\u0438\u043b\u0438\u044f")),r.a.createElement(u.a,{lg:8,className:"mt-1"},r.a.createElement("input",{value:t.name||"",onChange:function(e){return N({name:e.target.value})},className:"contacts-item contacts-input ".concat(t.name?"":"custom-input-invalid")}))),r.a.createElement(o.a,null,r.a.createElement(u.a,{lg:4,className:"mt-1 d-flex align-items-center"},r.a.createElement("h5",{className:"m-0"},"\u0422\u0435\u043b\u0435\u0444\u043e\u043d / \u041c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440")),r.a.createElement(u.a,{lg:6,className:"mt-1"},r.a.createElement("input",{value:t.phone||"",onChange:function(e){return N({phone:e.target.value})},className:"contacts-item contacts-input ".concat(t.phone?"":"custom-input-invalid")}))),r.a.createElement(o.a,null,r.a.createElement(u.a,{lg:4,className:"mt-1 d-flex align-items-center"},r.a.createElement("h5",{className:"m-0"},"Email")),r.a.createElement(u.a,{lg:6,className:"mt-1"},r.a.createElement("input",{value:t.email||"",onChange:function(e){return N({email:e.target.value})},className:"contacts-item contacts-input ".concat(t.email?"":"custom-input-invalid")}))),r.a.createElement(o.a,null,r.a.createElement(u.a,{lg:4,className:"mt-1 d-flex align-items-center"},r.a.createElement("h5",{className:"m-0"},"\u0422\u0438\u043f \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430")),r.a.createElement(u.a,{lg:6,className:"mt-1"},r.a.createElement(b.a,{className:"contacts-item contacts-input-select",classNamePrefix:"dark_select",value:{value:t.type.id,label:t.type.name,data:t.type},options:h.map((function(e){return{value:e.id,label:e.name,data:e.data}})),isDisabled:a.contact_id,isSearchable:!1,onChange:function(e){v(p.d,"contact",Object(n.a)(Object(n.a)({},t),{},{data:JSON.parse(e.data),type:{id:e.value,name:e.label,data:e.data}}))},name:"typesList"}))),r.a.createElement("hr",null),r.a.createElement("h4",null,"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e"),r.a.createElement("div",null,t.data.map((function(e,t){return r.a.createElement(o.a,{key:t},r.a.createElement(u.a,{lg:4,className:"mt-1 d-flex align-items-center"},r.a.createElement("h5",{className:"m-0"},e.name)),r.a.createElement(u.a,{lg:6,className:"mt-1"},function(e,t){var a=[{value:!0,label:"\u0414\u0430"},{value:!1,label:"\u041d\u0435\u0442"}];switch(t.type){case"string":case"link":return r.a.createElement("input",{value:t.value||"",onChange:function(a){return L(t.key,a.target.value,e)},className:"contacts-item contacts-input"});case"number":return r.a.createElement("input",{type:"number",onChange:function(a){return L(t.key,a.target.value,e)},value:t.value||"",className:"contacts-item contacts-input"});case"boolean":return r.a.createElement(b.a,{className:"contacts-item contacts-input-select",classNamePrefix:"dark_select",onChange:function(a){return L(t.key,a.value,e)},value:{value:t.value||!1,label:a[!0===t.value?0:1].label},options:a,isSearchable:!1,name:"typesList"})}}(t,e)))})))),r.a.createElement(m.a,null,a.contact_id&&r.a.createElement(d.a.Ripple,{onClick:function(){a.contact_id&&y(a.contact_id,C,a)},color:"danger",className:"btn-uppercase"},"\u0423\u0434\u0430\u043b\u0438\u0442\u044c"),r.a.createElement(d.a.Ripple,{color:"primary",onClick:function(){a.contact_id?E(a.contact_id,t,C,a):j(t,C,a)},className:"btn-uppercase"},"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c"))))}))},575:function(e,t,a){"use strict";a.d(t,"b",(function(){return f})),a.d(t,"d",(function(){return p})),a.d(t,"a",(function(){return b})),a.d(t,"c",(function(){return C}));var n=a(2),c=a(28),r=a(6),l=a(7),i=a(12),s=a(13),o=function(e){Object(i.a)(a,e);var t=Object(s.a)(a);function a(){return Object(r.a)(this,a),t.apply(this,arguments)}return Object(l.a)(a,null,[{key:"entity",get:function(){return"events/files"}}]),a}(a(101).a),u=a(80),m=a(425),d=a(70),f=function(e,t){return function(a){a(Object(c.e)("event-detail")),o.index(Object(n.a)(Object(n.a)({},e),{},{event_id:t})).then((function(e){var t=e.data.files.data;a(Object(c.b)(u.c,"documents",t)),a(Object(c.b)(u.c,"meta",e.data.files.meta))})).finally((function(){a(Object(c.g)("event-detail"))}))}},p=function(e,t){return function(a,r){a(Object(c.e)("event-detail")),o.create(Object(n.a)(Object(n.a)({},e),{},{event_id:t})).then((function(e){a(f(r().eventDocuments.reqParams,t))})).finally((function(){a(Object(c.g)("event-detail"))}))}},b=function(e,t){return function(a,n){a(Object(c.e)("event-detail")),o.remove(e,{event_id:t}).then((function(){var e=n().eventDocuments.reqParams;a(f(e,t))})).finally((function(){a(Object(c.g)("event-detail"))}))}},C=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(a){a(Object(c.e)("event-detail")),m.a.getDownloadLink(e).then((function(e){var n=e.data.file.link||"";if(t)window.open(d.a+"files/download/"+n);else{var r=document.createElement("textarea");document.body.appendChild(r),r.value=d.a+"files/download/"+n,r.select(),document.execCommand("copy"),document.body.removeChild(r),a(Object(c.d)("\u0421\u0441\u044b\u043b\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430","success"))}})).finally((function(){a(Object(c.g)("event-detail"))}))}}},585:function(e,t,a){},590:function(e,t,a){},591:function(e,t,a){},593:function(e,t,a){},595:function(e,t,a){},596:function(e,t,a){},603:function(e,t){e.exports=""},604:function(e,t,a){},609:function(e,t,a){},817:function(e,t,a){"use strict";a.r(t);var n=a(6),c=a(7),r=a(12),l=a(13),i=a(0),s=a.n(i),o=a(105),u=a(46),m=a(22),d=(a(210),function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement("div",{className:"fallback-spinner"},s.a.createElement("div",{className:"loading component-loader"},s.a.createElement("div",{className:"effect-1 effects"}),s.a.createElement("div",{className:"effect-2 effects"}),s.a.createElement("div",{className:"effect-3 effects"})))}}]),a}(s.a.Component)),f=a(103),p=a(11),b=a(100),C=a(579),h=a(17),g=(a(491),a(371)),v=a(418),O=a(2),j=a(498),E=a(499),y=a(107),k=a(485),L=a(165),N=a(177),w=a(164),x=a(150),M=a(180),z=(a(91),a(330)),Z=(a(419),a(420),a(32),a(313),a(372)),R=(a(373),a(28)),F=a(56),T=a(101),D=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"tasks"}}]),a}(T.a),H=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"tasks/files"}}]),a}(T.a),P=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,null,[{key:"entity",get:function(){return"tasks/tags"}}]),a}(T.a),S=(a(575),a(423)),A=a(49),V=(a(359),function(e){return function(t){t(Object(R.e)("tasks-list"));var a=e.tags.length?e.tags.reduce((function(e,t){return e+","+t}),"").replace(",",""):null;D.index(Object(O.a)(Object(O.a)({},e),{},{tags:a,property:e.filter})).then((function(e){var a=e.data.tasks.data;t(Object(R.b)(F.c,"tasks",a)),t(Object(R.b)(F.c,"meta",e.data.tasks.meta))})).finally((function(){t(Object(R.g)("tasks-list"))}))}}),q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return new Promise((function(a,n){var c=e.tags.map((function(e){return e.id}));P.create({tags:c,task_id:t}).then((function(e){a(e)})).catch((function(){n(null)}))}))},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return new Promise((function(a,n){e.files.id||a(!0),H.create({file_id:e.files.id,task_id:t}).then((function(e){a(e)})).catch((function(){n(null)}))}))},I=((0,k.a.createSliderWithTooltip)(k.a.Range),{page:1,filter:"all",tags:[],project_id:null,event_id:null}),U=s.a.memo((function(e){var t=e.getTagsList,a=e.getTasks,n=e.setFieldData,c=e.setFieldIdData,r=e.setSidebarOpen,l=e.tags,o=e.reqParams,u=e.params,m=Object(i.useRef)(),d=function(e){n(F.c,"reqParams",Object(O.a)(Object(O.a)({},e),{},{page:1}))};return Object(i.useEffect)((function(){m&&m.current.offsetHeight&&e.setSidebarHeight(m.current.offsetHeight+200)})),Object(i.useEffect)((function(){t({type:"Task"})}),[]),Object(i.useEffect)((function(){a(o)}),[o]),s.a.createElement(s.a.Fragment,null,s.a.createElement(j.a,null,s.a.createElement(E.a,{className:"p-2 pt-0",innerRef:m},s.a.createElement("div",{className:"d-flex justify-content-center"},s.a.createElement(y.a.Ripple,{color:"danger",className:"btn-uppercase",disabled:u.isOpenModal,onClick:function(){r(!1),c(F.c,"params",Object(O.a)(Object(O.a)({},u),{},{task_id:null,isOpenModal:!0}))}},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443")),s.a.createElement("div",{className:"d-flex justify-content-start mt-5 tasks-elements ".concat("all"===o.filter?"tasks-elements-active":""),onClick:function(){return"all"!==o.filter&&d(Object(O.a)(Object(O.a)({},o),{},{filter:"all"}))}},s.a.createElement(L.a,{size:20,className:"mr-1"}),s.a.createElement("p",{className:"mb-0"},"\u0412\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438")),s.a.createElement("hr",null),s.a.createElement("div",null,s.a.createElement("h6",{className:"filter-title mb-0"},"\u0424\u0438\u043b\u044c\u0442\u0440"),s.a.createElement("div",{className:"d-flex justify-content-start mt-1 tasks-elements ".concat("starred"===o.filter?"tasks-elements-active":""),onClick:function(){return"starred"!==o.filter&&d(Object(O.a)(Object(O.a)({},o),{},{filter:"starred"}))}},s.a.createElement(N.a,{size:20,className:"mr-1"}),s.a.createElement("p",{className:"mb-0"},"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435")),s.a.createElement("div",{className:"d-flex justify-content-start mt-1 tasks-elements ".concat("important"===o.filter?"tasks-elements-active":""),onClick:function(){return"important"!==o.filter&&d(Object(O.a)(Object(O.a)({},o),{},{filter:"important"}))}},s.a.createElement(w.a,{size:20,className:"mr-1"}),s.a.createElement("p",{className:"mb-0"},"\u0412\u0430\u0436\u043d\u044b\u0435")),s.a.createElement("div",{className:"d-flex justify-content-start mt-1 tasks-elements ".concat("completed"===o.filter?"tasks-elements-active":""),onClick:function(){return"completed"!==o.filter&&d(Object(O.a)(Object(O.a)({},o),{},{filter:"completed"}))}},s.a.createElement(x.a,{size:20,className:"mr-1"}),s.a.createElement("p",{className:"mb-0"},"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044b\u0435")),s.a.createElement("div",{className:"d-flex justify-content-start mt-1 tasks-elements ".concat("trashed"===o.filter?"tasks-elements-active":""),onClick:function(){return d(Object(O.a)(Object(O.a)({},o),{},{filter:"trashed"}))}},s.a.createElement(M.a,{size:20,className:"mr-1"}),s.a.createElement("p",{className:"mb-0"},"\u0423\u0434\u0430\u043b\u0435\u043d\u043d\u044b\u0435"))),s.a.createElement("hr",null),s.a.createElement("h6",{className:"filter-title mb-0"},"\u0422\u0435\u0433\u0438"),s.a.createElement("div",{className:"tags"},l&&l.map((function(e){return s.a.createElement("div",{key:e.id,onClick:function(){return function(e){var t=[].concat(o.tags);-1!==t.indexOf(e)?t.splice(t.indexOf(e),1):t.push(e),d(Object(O.a)(Object(O.a)({},o),{},{tags:t}))}(e.id)},className:"d-flex justify-content-start align-items-center mt-1 tags-elements ".concat(-1!==o.tags.indexOf(e.id)?"tags-active":"")},s.a.createElement("span",{className:"tags-circle mr-1",style:{backgroundColor:e.color}}),s.a.createElement("p",{className:"mb-0"},e.name))}))),s.a.createElement("hr",null),s.a.createElement("hr",null),s.a.createElement("div",{className:"clear-filters"},s.a.createElement(y.a.Ripple,{block:!0,className:"btn-block",color:"primary",onClick:function(){return d(Object(O.a)(Object(O.a)({},o),I))}},"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0424\u0438\u043b\u044c\u0442\u0440")))))})),Y=Object(h.b)((function(e){return{projects:e.projects.list,tags:e.tags.tags.data,events:e.events.events.data,reqParams:e.tasks.reqParams,params:e.tasks.params}}),{getTagsList:Z.b,getTasks:V,setFieldData:R.b,setFieldIdData:R.c})(U),B=a(500),W=a(501),J=a(502),K=a(503),G=a(168),Q=a(176),_=a(174),$=(a(585),a(331)),ee=Object(h.b)((function(e){return{tasks:e.tasks.tasks,meta:e.tasks.meta,reqParams:e.tasks.reqParams,params:e.tasks.params}}),{getTasks:V,setFieldData:R.b,updateTaskElement:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function(n,c){n(Object(R.e)("tasks-list")),D.update(t,e).then((function(){n(V(a))})).finally((function(){n(Object(R.g)("tasks-list"))}))}},deleteTask:function(e,t){return function(a){a(Object(R.e)("tasks-list")),D.remove(e).then((function(){a(V(t))})).finally((function(){a(Object(R.g)("tasks-list"))}))}},setFieldIdData:R.c})((function(e){var t=e.meta,a=e.tasks,n=e.reqParams,c=e.params,r=e.getTasks,l=e.setFieldData,o=e.updateTaskElement,u=e.deleteTask,m=e.setFieldIdData,d=Object(i.useState)(""),f=Object(b.a)(d,2),p=f[0],C=f[1],h=Object(i.useState)(null),g=Object(b.a)(h,2),v=g[0],j=g[1];return Object(i.useEffect)((function(){clearTimeout(v),j(null),j(setTimeout((function(){r(Object(O.a)(Object(O.a)({},n),{},{search:p}))}),700))}),[p]),s.a.createElement("div",{className:"shop-content"},s.a.createElement(B.a,null,s.a.createElement(W.a,{sm:"12"},s.a.createElement("div",{className:"ecommerce-header-items"},s.a.createElement("div",{className:"result-toggler w-25 d-flex align-items-center"},s.a.createElement("div",{className:"shop-sidebar-toggler d-block d-lg-none"},s.a.createElement(G.a,{size:26,onClick:function(){return e.mainSidebar(!0)}}))))),s.a.createElement(W.a,{sm:"12"},s.a.createElement("div",{className:"ecommerce-searchbar mt-2"},s.a.createElement(J.a,{className:"position-relative"},s.a.createElement(K.a,{className:"search-product",placeholder:"Search Here...",value:p,onChange:function(e){return C(e.target.value)}}),s.a.createElement("div",{className:"form-control-position"},s.a.createElement(Q.a,{size:22})))))),s.a.createElement(B.a,null,a.map((function(e){return s.a.createElement(W.a,{key:e.id,xs:12,className:"items"},s.a.createElement("div",{className:"item py-1 justify-content-between d-sm-flex"},s.a.createElement("div",{className:"pr-0 pr-sm-2 flex-grow-1 ",onClick:function(){return m(F.c,"params",Object(O.a)(Object(O.a)({},c),{},{task_id:e.id,isOpenModal:!0}))}},s.a.createElement("div",{className:"d-flex align-items-center flex-grow-1 flex-wrap"},s.a.createElement(z.a,{className:"mr-1",color:"primary",icon:s.a.createElement(x.a,{className:"vx-icon",size:16}),checked:e.completed,value:e.id,onChange:function(t){o(e.id,{completed:t.target.checked},n)},onClick:function(e){return e.stopPropagation()}}),s.a.createElement("h6",{className:"m-0 mr-2 ".concat(e.completed?"line-through":"")},e.name),s.a.createElement("div",{className:"d-flex task-tags"},e.tags&&e.tags.data.map((function(e){return s.a.createElement("div",{className:"d-flex task-tag align-items-center mr-1"},s.a.createElement("p",{className:"m-0"},e.name),s.a.createElement("div",{className:"tag-badge ml-1",style:{backgroundColor:e.color}}))})))),s.a.createElement("p",{className:"description pb-1 m-0 ".concat(e.completed?"line-through":"")},e.description)),s.a.createElement("div",{className:"d-flex align-items-center actions"},s.a.createElement(N.a,{onClick:function(){return o(e.id,{starred:!e.starred},n)},size:20,className:"mr-1 star-btn ".concat(e.starred?"active":"")}),s.a.createElement(w.a,{onClick:function(){return o(e.id,{important:!e.important},n)},size:20,className:"mr-1 info-btn ".concat(e.important?"active":"")}),!e.trashed&&s.a.createElement(M.a,{onClick:function(){return o(e.id,{trashed:!0},n)},size:20,className:"mr-1 trash-btn"}),1===e.trashed&&s.a.createElement(M.a,{onClick:function(){return u(e.id,n)},size:20,className:"mr-1 trash-btn"}),1===e.trashed&&s.a.createElement(_.a,{onClick:function(){return o(e.id,{trashed:!1},n)},size:20,className:"mr-1 repeat-btn"}))))}))),s.a.createElement($.a,{pagination:t.pagination,onPageChange:function(e){l(F.c,"reqParams",Object(O.a)(Object(O.a)({},n),{},{page:e}))}}))})),te=a(314),ae=a(178),ne=a(170),ce=a(426),re=a(339),le=a.n(re),ie=a(340),se=(a(341),a(342),a(48)),oe=a(119),ue=a(154),me=function(e){var t=e.date,a=e.setDate,n=t?Object(se.e)(t):"";return s.a.createElement("div",{className:"task__flatpickr-group position-relative d-flex justify-content-between align-items-center mt-3 flex-wrap"},s.a.createElement("h5",{className:"mb-1"},"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c"),s.a.createElement("div",{className:"d-flex mb-1"},s.a.createElement("div",{className:"flatpickr-group mr-1"},s.a.createElement(le.a,{value:new Date(n),options:{dateFormat:"d-m-Y",locale:ie.Russian,minDate:new Date<new Date(n)?new Date:new Date(n)},onChange:function(e){a(Object(se.j)(new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate(),n.getHours(),n.getMinutes(),0)))},className:"form-control"}),s.a.createElement("div",{className:"form-control-position flatpickr-group-icon "},s.a.createElement(oe.a,{size:16}))),s.a.createElement("div",{className:"flatpickr-group"},s.a.createElement(le.a,{options:{enableTime:!0,noCalendar:!0,dateFormat:"H:i",time_24hr:!0,minDate:new Date<new Date(n)?new Date:new Date(n)},value:new Date(n),onChange:function(e){a(Object(se.j)(new Date(n.getFullYear(),n.getMonth(),n.getDate(),e[0].getHours(),e[0].getMinutes(),0)))},className:"form-control"}),s.a.createElement("div",{className:"form-control-position flatpickr-group-icon "},s.a.createElement(ue.a,{size:16})))))},de=a(57),fe=a(361),pe=a(507),be=a(574),Ce=a(509),he=a(510),ge=a(511),ve=Object(h.b)((function(e){return{params:e.tasks.params,spinner:e.helper.spinner}}),{setFieldData:R.b,createTag:function(e){return function(t,a){t(Object(R.e)("tasks-list-tags")),S.a.create(e).then((function(e){var n=a().tasks.params,c=[];c=a().tasks.task.tags.length<3?[].concat(a().tasks.task.tags,[e.data.tag]):a().tasks.task.tags,t(Object(R.b)(F.c,"task",Object(O.a)(Object(O.a)({},a().tasks.task),{},{tags:c}))),t(Object(R.b)(A.e,"params",Object(O.a)(Object(O.a)({},n),{},{isTagsModal:!1})))})).finally((function(){t(Object(R.g)("tasks-list-tags"))}))}}})((function(e){var t=e.params,a=e.setFieldData,n=e.createTag,c=e.spinner,r=Object(i.useState)(""),l=Object(b.a)(r,2),o=l[0],u=l[1],m=Object(i.useState)(!1),d=Object(b.a)(m,2),f=d[0],p=d[1],C=Object(i.useState)(0),h=Object(b.a)(C,2),g=h[0],v=h[1],j=["#C4C4C4","#EA5455","#7E72F2","#28C76F","#CDAA2F","#00ACEA","#1D3CD1","#C544BF"],E=function(){a(F.c,"params",Object(O.a)(Object(O.a)({},t),{},{isTagsModal:!1}))};return s.a.createElement(s.a.Fragment,null,s.a.createElement(be.a,{isOpen:t.isTagsModal,toggle:E,size:"sm",className:"tags-modal-event"},c.includes("tasks-list-tags")&&s.a.createElement(te.a,null),s.a.createElement(Ce.a,{toggle:E},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u0433"),s.a.createElement(he.a,null,s.a.createElement("input",{onChange:function(e){u(e.target.value),f&&p(!1)},placeholder:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435",value:o,className:"form-control input w-100 ".concat(f?"custom-input-invalid":"")}),s.a.createElement("div",{className:"invalid-feedback"},"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"),s.a.createElement("div",{className:"colors position-relative d-flex mt-2"},j.map((function(e,t){return s.a.createElement("div",{key:t,className:"color ".concat(t===g?"color-bordered":""),style:{backgroundColor:e},onClick:function(){return v(t)}})})))),s.a.createElement(ge.a,null,s.a.createElement(y.a.Ripple,{color:"primary",className:"btn-uppercase",onClick:function(){o?n({name:o,color:j[g],type:"Task"}):p(!0)}},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c"))))})),Oe=Object(h.b)((function(e){return{params:e.tasks.params,task:e.tasks.task,reqParams:e.tasks.reqParams,tags:e.tags.tags}}),{setFieldData:R.b,setFieldIdData:R.c,getTask:function(e,t){return function(a,n){a(Object(R.e)("tasks-list")),D.getById(e,t).then((function(e){var t=Object(O.a)(Object(O.a)({},e.data.task),{},{tags:e.data.task.tags.data||[],files:e.data.task.files.data[0]||{}});a(Object(R.b)(F.c,"task",t))})).catch((function(){var e=n().tasks.params;a(Object(R.b)(F.c,"params",Object(O.a)(Object(O.a)({},e),{},{task_id:null,isOpenModal:!1})))})).finally((function(){a(Object(R.g)("tasks-list"))}))}},updateTask:function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function(n,c){n(Object(R.e)("tasks-list")),q(t,e).then((function(){X(t,e).then((function(r){D.update(t,e).then((function(){var e=c().tasks.params;n(Object(R.b)(F.c,"params",Object(O.a)(Object(O.a)({},e),{},{task_id:null,isOpenModal:!1}))),n(V(a))}))}))})).finally((function(){n(Object(R.g)("tasks-list"))}))}},storeTask:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return function(a,n){a(Object(R.e)("tasks-list")),D.create(e).then((function(c){var r=c.data.task,l=n().tasks.params;q(e,r.id).then((function(){X(e,r.id).then((function(e){a(Object(R.b)(F.c,"params",Object(O.a)(Object(O.a)({},l),{},{task_id:null,isOpenModal:!1}))),a(Object(R.c)(F.c,"task",{tags:[],files:{}})),a(V(t))})).catch((function(){a(Object(R.b)(F.c,"params",Object(O.a)(Object(O.a)({},l),{},{task_id:r.id})))}))})).catch((function(){a(Object(R.b)(F.c,"params",Object(O.a)(Object(O.a)({},l),{},{task_id:r.id})))}))})).finally((function(){a(Object(R.g)("tasks-list"))}))}}})((function(e){e.minHeight;var t=e.params,a=e.task,n=e.reqParams,c=e.tags,r=e.setFieldData,l=e.setFieldIdData,o=e.getTask,u=e.updateTask,m=e.storeTask,d=Object(i.useState)(!1),f=Object(b.a)(d,2),p=f[0],C=f[1],h=function(e){var t=document.getElementById("AddTaskForm"),a=document.getElementById("AddTaskForm-content");t&&t.contains(e.target)&&(a&&a.contains(e.target)?console.log("noclose"):g())},g=function(){l(F.c,"params",Object(O.a)(Object(O.a)({},t),{},{task_id:null,isOpenModal:!1})),l(F.c,"task",{tags:[],files:{}})};return Object(i.useEffect)((function(){t.task_id?o(t.task_id,n):r(F.c,"task",{completed:0,description:"",ending_at:Math.round((new Date).getTime()/1e3),important:0,name:"",starred:0,tags:[],files:{}})}),[]),Object(i.useEffect)((function(){return document.addEventListener("mousedown",h),function(){document.removeEventListener("mousedown",h)}}),[]),s.a.createElement("div",{id:"AddTaskForm",className:"AddTaskForm d-flex py-lg-2 py-0"},s.a.createElement("div",{className:"AddTaskForm-body w-100 h-100 flex-grow-1 d-flex justify-content-end"},s.a.createElement("div",{id:"AddTaskForm-content",className:"AddTaskForm-content position-relative"},s.a.createElement("h5",{className:"p-1 mr-3"},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c/\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443"),s.a.createElement("div",{onClick:g,className:"position-absolute m-1 position-right-0 position-top-0 cursor-pointer"},s.a.createElement(fe.d,{size:20})),s.a.createElement("div",{className:"p-1 d-flex justify-content-between"},s.a.createElement(z.a,{className:"mr-1",color:"primary",icon:s.a.createElement(x.a,{className:"vx-icon",size:16}),checked:a.completed,label:"\u041e\u0442\u043a\u0440\u044b\u0442\u0430",value:a.id,onChange:function(e){return r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{completed:e.target.checked}))}}),s.a.createElement("div",{className:"actions d-flex align-items-center"},s.a.createElement(N.a,{size:20,onClick:function(){return r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{starred:!a.starred}))},className:"mr-1 star-btn ".concat(a.starred?"active":"")}),s.a.createElement(w.a,{size:20,onClick:function(){return r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{important:!a.important}))},className:"mr-1 info-btn ".concat(a.important?"active":"")}),s.a.createElement(ae.a,{size:20,onClick:function(){return r(F.c,"params",Object(O.a)(Object(O.a)({},t),{},{isTagsOpen:!t.isTagsOpen}))},className:"mr-1 tag-btn"}))),s.a.createElement(de.a,{in:t.isTagsOpen,unmountOnExit:!0},s.a.createElement(ve,null),s.a.createElement("div",{className:"SelectTags position-relative d-flex justify-content-between p-1"},s.a.createElement(pe.a,{length:3,className:"flex-grow-1 mr-1",changeTags:function(e){r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{tags:e}))},selected:a.tags,tags:c,type:"Task"}),s.a.createElement("div",{className:"task__add-tag d-flex align-items-center cursor-pointer",onClick:function(){r(F.c,"params",Object(O.a)(Object(O.a)({},t),{},{isTagsModal:!0}))}},s.a.createElement(ne.a,{size:18})))),s.a.createElement("div",{className:"p-1 mt-2"},s.a.createElement("input",{placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435",id:"name",value:a.name||"",onChange:function(e){C(0===e.target.value.length),r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{name:e.target.value}))},className:"form-control input ".concat(p?"custom-input-invalid":"")}),s.a.createElement("textarea",{placeholder:"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u043e \u043a\u043e\u043b-\u0432\u0443 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 1000 ",value:a.description||"",onChange:function(e){return r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{description:e.target.value}))},rows:4,className:"form-control textarea my-3"}),s.a.createElement(ce.a,{type:"Task",file:a.files,fileUploaded:function(e){r(F.d,"file",e)}}),s.a.createElement(me,{date:a.ending_at,setDate:function(e){r(F.c,"task",Object(O.a)(Object(O.a)({},a),{},{ending_at:e}))}}),s.a.createElement("div",{className:"d-flex task-tags mt-2 w-100"},a.tags.map((function(e){return s.a.createElement("div",{className:"d-flex task-tag align-items-center mr-1"},s.a.createElement("p",{className:"m-0"},e.name),s.a.createElement("div",{className:"tag-badge ml-1",style:{backgroundColor:e.color}}))}))),s.a.createElement("hr",{className:"my-3"}),s.a.createElement("div",{className:"d-flex justify-content-end flex-wrap"},s.a.createElement("div",{className:"mr-1 mb-1"},s.a.createElement(y.a.Ripple,{onClick:g,outline:!0,color:"danger",className:"btn-uppercase"},"\u041e\u0442\u043c\u0435\u043d\u0430")),s.a.createElement("div",{className:"mr-1 mb-1"},s.a.createElement(y.a.Ripple,{onClick:function(){a.name?null!==t.task_id?u(t.task_id,a,n):m(a,n):C(!0)},outline:!0,color:"primary",className:"btn-uppercase"},"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c")))))))})),je=window.matchMedia("(min-width: 992px)"),Ee=Object(h.b)((function(e){return{reqParams:e.tasks.reqParams,meta:e.tasks.meta,projects:e.projects.list,spinner:e.helper.spinner,params:e.tasks.params}}),{})((function(e){e.projects;var t=e.params;Object(C.a)(e);var a=Object(i.useState)(!1),n=Object(b.a)(a,2),c=n[0],r=n[1],l=Object(i.useState)(je.matches),o=Object(b.a)(l,2),u=o[0],m=o[1],d=Object(i.useState)(null),f=Object(b.a)(d,2),p=f[0],h=f[1];Object(i.useEffect)((function(){return je.addListener(O),function(){je.removeListener(O)}}),[]);var O=function(){r(!1),m(je.matches)};return s.a.createElement("div",null,s.a.createElement(g.a,{breadCrumbTitle:"\u0417\u0430\u0434\u0430\u0447\u0438",breadCrumbActive:"\u0417\u0430\u0434\u0430\u0447\u0438"}),e.spinner.includes("tasks-list")&&s.a.createElement(te.a,null),s.a.createElement("div",{className:"ecommerce-application position-relative",style:{minHeight:p}},s.a.createElement(de.a,{className:"fade-addForm",in:t.isOpenModal,unmountOnExit:!0},s.a.createElement(Oe,{minHeight:p})),c&&s.a.createElement("div",{className:"shop-content-overlay ".concat(c?"show":""),onClick:function(){return r(!1)}}),s.a.createElement("div",{className:"sidebar-section"},s.a.createElement(v.a,{sidebar:s.a.createElement(Y,{setSidebarOpen:r,setSidebarHeight:h}),docked:u,open:c,sidebarClassName:"sidebar-shop",touch:!0,contentClassName:"sidebar-children d-none"},'""')),s.a.createElement(ee,{mainSidebar:r,sidebar:c})))})),ye=a(157),ke=a(512),Le=a(369),Ne=a(514),we=a(55),xe=(a(596),a(348)),Me=(a(374),a(8)),ze=a(308),Ze=Object(h.b)((function(e){return{types:e.contacts.types,reqParams:e.contacts.reqParams}}),{setFieldData:R.b,getContacts:Le.e})((function(e){var t=e.reqParams,a=e.types,n=e.setFieldData,c=e.getContacts,r=Object(i.useState)(0),l=Object(b.a)(r,2),o=l[0],u=l[1],m=function(e,a){n(we.d,"reqParams",Object(O.a)(Object(O.a)({},t),{},Object(Me.a)({},e,a))),c(Object(O.a)(Object(O.a)({},t),{},Object(Me.a)({},e,a)))},d=function(a,c){n(we.d,"reqParams",Object(O.a)(Object(O.a)({},t),{},Object(Me.a)({},a,c))),clearTimeout(o),u(setTimeout((function(){o&&e.getContacts(Object(O.a)(Object(O.a)({},t),{},Object(Me.a)({},a,c)))}),500))},f=[{value:0,label:"\u0412\u0441\u0435"},{value:1,label:"\u0423\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438"},{value:2,label:"\u041d\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0430\u043a\u0442"}],p=function(){return C().filter((function(e){return e.id===t.type}))[0]||[]},C=function(){return[{id:-1,name:"\u0412\u0441\u0435"}].concat(a)};return s.a.createElement(s.a.Fragment,null,s.a.createElement(B.a,null,s.a.createElement(W.a,{lg:3,md:6,className:"mt-1"},s.a.createElement("label",{className:"filter-label",htmlFor:"type"},"\u0422\u0438\u043f"),s.a.createElement("div",null,s.a.createElement(ze.a,{id:"type",onChange:function(e){return m("type",e.value)},value:{value:p().id,label:p().name},className:"contacts-item contacts-input-select",classNamePrefix:"dark_select",options:C().map((function(e){return{value:e.id,label:e.name}})),isSearchable:!1,name:"typesList"}))),s.a.createElement(W.a,{lg:3,md:6,className:"mt-1"},s.a.createElement("label",{className:"filter-label",htmlFor:"status"},"\u0421\u0442\u0430\u0442\u0443\u0441"),s.a.createElement("div",null,s.a.createElement(ze.a,{id:"status",className:"contacts-item contacts-input-select",classNamePrefix:"dark_select",onChange:function(e){return m("status",e.value)},value:{value:t.status,label:f[t.status].label},options:f,isSearchable:!1,name:"typesList"}))),s.a.createElement(W.a,{lg:3,md:6,className:"mt-1"},s.a.createElement("label",{className:"filter-label",htmlFor:"name"},"\u0424\u0418\u041e"),s.a.createElement("div",null,s.a.createElement("input",{id:"name",value:t.name,onChange:function(e){return d("name",e.target.value)},className:"contacts-item contacts-input input-dark"}))),s.a.createElement(W.a,{lg:3,md:6,className:"mt-1"},s.a.createElement("label",{className:"filter-label",htmlFor:"email"},"Email"),s.a.createElement("div",null,s.a.createElement("input",{id:"email",value:t.email,onChange:function(e){return d("email",e.target.value)},className:"contacts-item contacts-input input-dark"})))))})),Re=Object(h.b)((function(e){return{contact:e.contacts.contact,params:e.contacts.params,types:e.contacts.types,reqParams:e.contacts.reqParams,contacts:e.contacts.contacts,spinner:e.helper.spinner}}),{setFieldData:R.b,setFieldIdData:R.c,getContacts:Le.e,getTypes:Le.f,DeleteContact:Le.a})((function(e){var t=e.params,a=e.reqParams,n=e.contacts,c=e.spinner,r=e.types,l=e.setFieldData,o=e.getTypes,u=e.getContacts,m=e.DeleteContact,d=function(e){return n.filter((function(t){return t.type.id===e.id})).map((function(e){var t={id:e.id,name:e.name,phone:e.phone,email:e.email,created_at:e.created_at,updated_at:e.updated_at};return e.data.map((function(e){t[e.key]=e.value})),t}))},p=function(e){var n=[{headerName:"\u0418\u043c\u044f \u0424\u0430\u043c\u0438\u043b\u0438\u044f",field:"name"},{headerName:"Email",field:"email"},{headerName:"\u0422\u0435\u043b\u0435\u0444\u043e\u043d",field:"phone"}];return(n=n.concat(JSON.parse(e.data).map((function(e){switch(e.type){case"boolean":return{headerName:e.name,field:e.key,cellRendererFramework:function(e){return!0===e.value?"\u0414\u0430":"\u041d\u0435\u0442"}};case"link":return{headerName:e.name,field:e.key,cellRendererFramework:function(e){return e.value?s.a.createElement("a",{href:e.value},"\u041f\u0435\u0440\u0435\u0439\u0442\u0438"):""}};default:return{headerName:e.name,field:e.key}}})))).push({headerName:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",field:"edit",cellRendererFramework:function(e){return s.a.createElement("div",null,s.a.createElement(y.a.Ripple,{className:"p-1",color:"flat-primary",onClick:function(){return l(we.d,"params",Object(O.a)(Object(O.a)({},e),{},{contact_id:e.data.id,isOpenModal:!0}))}},s.a.createElement(ye.a,{size:18})),s.a.createElement(y.a.Ripple,{className:"p-1",color:"flat-danger",onClick:function(){return m(e.data.id,a,t)}},s.a.createElement(M.a,{size:18})))}}),n};Object(i.useEffect)((function(){o()}),[]),Object(i.useEffect)((function(){t.isOpenModal||u(a)}),[t.isOpenModal]);var b={defaultColDef:{sortable:!0,cellStyle:{border:"none"}},rowStyle:{borderColor:"transparent",borderWidth:"4px",cursor:"pointer"},rowSelection:"single"},C=function(e){var a=e.api.getSelectedRows();console.log(a),l(we.d,"params",Object(O.a)(Object(O.a)({},t),{},{contact_id:a[0].id,isOpenModal:!0}))};return s.a.createElement(s.a.Fragment,null,c.includes("contacts")&&s.a.createElement(te.a,null),s.a.createElement(ke.a,null),s.a.createElement(j.a,{className:"px-2"},s.a.createElement(Ne.a,{className:"d-flex justify-content-between"},s.a.createElement("h1",null,"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"),s.a.createElement(y.a.Ripple,{onClick:function(){return l(we.d,"params",Object(O.a)(Object(O.a)({},t),{},{contact_id:null,isOpenModal:!0}))},color:"danger",className:"btn-uppercase"},"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0430\u043a\u0442")),s.a.createElement(E.a,{className:"pt-2"},s.a.createElement(Ze,null))),r.filter((function(e){return-1===a.type||a.type===e.id})).map((function(e){return s.a.createElement(j.a,{className:"px-2",key:e.id},s.a.createElement(Ne.a,null,s.a.createElement("h3",null,e.name)),s.a.createElement(E.a,{className:"pt-2"},s.a.createElement("div",{className:"ag-theme-material ag-grid-table"},s.a.createElement(f.a.Consumer,null,(function(t){return s.a.createElement(xe.AgGridReact,{defaultColDef:b.defaultColDef,columnDefs:p(e),rowData:d(e),rowStyle:b.rowStyle,colResizeDefault:"shift",animateRows:!0,onRowDoubleClicked:C.bind(void 0),pagination:!1,rowSelection:b.rowSelection})})))))})))})),Fe=a(603),Te=a.n(Fe),De=(a(604),a(605),function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement(B.a,{className:"d-flex align-items-center justify-content-center m-0"},s.a.createElement(W.a,{xl:"5",md:"8",className:"px-md-0 px-2"},s.a.createElement(j.a,{className:"mb-0"},s.a.createElement(Ne.a,{className:"justify-content-center"},s.a.createElement("h2",null,"\u0412 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435")),s.a.createElement(E.a,{className:"text-center"},s.a.createElement("img",{src:Te.a,alt:"csImg",className:"img-fluid width-150"})))))}}]),a}(s.a.Component)),He=Object(i.lazy)((function(){return Promise.all([a.e(2),a.e(12)]).then(a.bind(null,822))})),Pe=Object(i.lazy)((function(){return Promise.all([a.e(1),a.e(13)]).then(a.bind(null,818))})),Se=Object(i.lazy)((function(){return a.e(15).then(a.bind(null,813))})),Ae=Object(i.lazy)((function(){return Promise.all([a.e(2),a.e(17)]).then(a.bind(null,814))})),Ve=Object(i.lazy)((function(){return Promise.all([a.e(0),a.e(11)]).then(a.bind(null,820))})),qe=Object(i.lazy)((function(){return Promise.all([a.e(1),a.e(9),a.e(10)]).then(a.bind(null,816))})),Xe=Object(i.lazy)((function(){return a.e(18).then(a.bind(null,815))})),Ie=Object(i.lazy)((function(){return Promise.all([a.e(0),a.e(14)]).then(a.bind(null,819))})),Ue=Object(i.lazy)((function(){return Promise.all([a.e(0),a.e(1),a.e(3),a.e(16)]).then(a.bind(null,821))})),Ye=Object(i.lazy)((function(){return Promise.all([a.e(0),a.e(3)]).then(a.bind(null,808))})),Be=function(e){var t=e.component,a=e.fullLayout,n=(e.permission,e.auth),c=e.noAuth,r=Object(o.a)(e,["component","fullLayout","permission","auth","noAuth"]);return s.a.createElement(u.a,Object.assign({},r,{render:function(e){if(n){if(!Object(p.a)())return void m.a.push("/login")}else if(c){if(""!==Object(p.a)()&&"{}"!==JSON.stringify(Object(p.b)()))return void m.a.push("/");Object(p.i)()}return s.a.createElement(f.a.Consumer,null,(function(n){var c=!0===a?n.fullLayout:"horizontal"===n.state.activeLayout?n.horizontalLayout:n.VerticalLayout;return s.a.createElement(c,e,s.a.createElement(i.Suspense,{fallback:s.a.createElement(d,null)},s.a.createElement(t,e)))}))}}))},We=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"render",value:function(){return s.a.createElement(s.a.Fragment,null,s.a.createElement(u.b,{history:m.a},s.a.createElement(u.c,null,s.a.createElement(Be,{exact:!0,path:"/",component:He,permission:"user"}),s.a.createElement(Be,{path:"/dashboard",component:Pe,auth:!0}),s.a.createElement(Be,{path:"/login",component:Se,fullLayout:!0,noAuth:!0}),s.a.createElement(Be,{path:"/register",component:Ae,fullLayout:!0,noAuth:!0}),s.a.createElement(Be,{path:"/events/:eventId/:tab",component:qe,permission:"user"}),s.a.createElement(Be,{path:"/events",component:Ve,permission:"user"}),s.a.createElement(Be,{path:"/users",component:Xe,permission:"admin"}),s.a.createElement(Be,{path:"/tasks",component:Ee,auth:!0}),s.a.createElement(Be,{path:"/contacts",component:Re,auth:!0}),s.a.createElement(Be,{path:"/coming",component:De,auth:!0}),s.a.createElement(Be,{path:"/releases/:releaseId/:tab",component:Ue,permission:"user"}),s.a.createElement(Be,{path:"/releases",component:Ie,permission:"user"}),s.a.createElement(Be,{path:"/release-form/:code",component:Ye,fullLayout:!0}))))}}]),a}(s.a.Component),Je=a(810);y.a.Ripple=function(e){var t=e.rippleColor,a=e.during,n=e.block,c=Object(o.a)(e,["rippleColor","during","block"]);return s.a.createElement(Je.a,{color:t||"rgba(255, 255, 255, .5)",during:a,className:"".concat(n?"d-block":"")},s.a.createElement(y.a,c))};var Ke=a(38),Ge=(a(607),a(608),a(20)),Qe=a(569),_e=(a(609),a(610),function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"componentDidUpdate",value:function(e,t,a){this.setNotification()}},{key:"setNotification",value:function(){var e=this;this.props.notifications.map((function(t,a){switch(t.status){case"success":e.props.customizer.notifications||Qe.b.success(t.message);break;case"error":Qe.b.error(t.message)}e.props.unsetNotification(t.id)}))}},{key:"render",value:function(){return s.a.createElement("div",{className:"notification-message"},s.a.createElement(Qe.a,{position:"bottom-right",autoClose:5e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}))}}]),a}(s.a.Component)),$e=Object(h.b)((function(e){return{notifications:e.helper.notifications,customizer:e.customizer.customizer}}),{setNotification:R.d,unsetNotification:R.f})(_e),et=a(108),tt=a(71),at=function(e){Object(r.a)(a,e);var t=Object(l.a)(a);function a(){return Object(n.a)(this,a),t.apply(this,arguments)}return Object(c.a)(a,[{key:"componentDidMount",value:function(){this.themeConfig(this.props),this.UserData(this.props)}},{key:"UserData",value:function(e){try{var t=JSON.parse(localStorage.getItem("userData"));t?e.changeUserData(t):(e.changeUserData({}),localStorage.setItem("userData","{}"))}catch(a){localStorage.setItem("themeConfig","{}"),e.changeUserData({})}}},{key:"themeConfig",value:function(e){try{var t=JSON.parse(localStorage.getItem("themeConfig"));t?e.changeConfig(t):localStorage.setItem("themeConfig",JSON.stringify(Ke.a))}catch(a){localStorage.setItem("themeConfig",JSON.stringify(Ke.a)),e.changeConfig(Ke.a)}}},{key:"render",value:function(){return s.a.createElement(s.a.Fragment,null,s.a.createElement($e,null),s.a.createElement(We,null))}}]),a}(s.a.Component);t.default=Object(h.b)(null,{changeConfig:Ge.a,changeUserData:et.b,logoutUser:tt.b})(at)}}]);
//# sourceMappingURL=8.e8707fc8.chunk.js.map